Answer the question
In order to leave comments, you need to log in
Can't configure nginx on archlinux, what to do?
I downloaded a fresh arch, started installing nginx.
Because Apache is already running on port 80 on the machine, then I changed the port in /etc/nginx/nginx.conf to another one (3555).
In the /usr/share/nginx/html folder (by default, the nginx root in the config), I created a share folder in it. Only when you try to visit site.site:3555/share gives a "403 Forbidden" error. Ok, I tried to set permissions to share 777, but it still won't let me. Then I set the rights to 777 on the /usr/share/nginx folder and still won't let me!
I tried to prescribe user root in the config, but everything is the same.
Moreover, the web server sees the directory, that is, if you enter something from the bulldozer, for example site.site:3555/blabla , it will already give a 404 error.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question