Answer the question
In order to leave comments, you need to log in
How to install nginx after phpmyadmin?
I put nginx, I prescribe in it
server {
listen 80;
server_name nondt.ru;
location / {
proxy_pass http://localhost:3000;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
}
}
Answer the question
In order to leave comments, you need to log in
So, you need to add the location to the config, don't you?
Something like
location / {
...
}
location /phpmyadmin/ {
... params...
}
location /phpmyadmin/ {
deny all;
root /usr/share/phpmyadmin/;
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question