Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server {
- listen 80 default_server;
- listen [::]:80 default_server;
- root /var/www/html;
- # Add index.php to the list if you are using PHP
- index index.html index.htm index.nginx-debian.html;
- server_name _;
- location / {
- # First attempt to serve request as file, then
- # as directory, then fall back to displaying a 404.
- # try_files $uri $uri/ =404;
- # index index.html index.htm;
- include uwsgi_params;
- # this is the correct uwsgi_modifier1 parameter for a php based application
- # uwsgi_modifier1 14;
- # uncomment the following if you want to use the unix socket instead
- # uwsgi_pass unix:/var/run/bjoern.sock;
- uwsgi_pass 127.0.0.1:8000;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement