ej52 / proxmox-scripts

MIT License
568 stars 303 forks source link

can't access website #108

Closed RonoBlag closed 9 months ago

RonoBlag commented 1 year ago

Hello, I installed nginx proxy manager using the Alternative Usage, like I allways did. The installation was a success because I don't have a single installation error, but still can't access the website. image

And when I go on my website with the port 80 I have this message, wich is not the same as before. image

Do you happened to have an idea of why?

JBHorne2 commented 1 year ago

Following. Same issue...

JBHorne2 commented 1 year ago

Fixed! Ran this command, then reboot:

sed -i 's/^pid/#pid/' /etc/openresty/nginx.conf

bafben10 commented 1 year ago

I had the same issue. It seems to work on first boot, but not after a reboot. Thanks for the fix!!

If you're in Alpine, the path to the config is "/etc/nginx/nginx.conf" So the new command would be:

sed -i 's/^pid/#pid/' /etc/nginx/nginx.conf