diff options
-rw-r--r-- | nginx.example.conf | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/nginx.example.conf b/nginx.example.conf new file mode 100644 index 0000000..d2899f4 --- /dev/null +++ b/nginx.example.conf @@ -0,0 +1,17 @@ +http{ + server { + server_name dyn.localhost; + index index.html; + location = /favicon.ico { + root /srv/www; + } + location ~ ^/(|index.html)$ { + root /root/minimun/www; + } + location / { + include uwsgi_params; + uwsgi_modifier1 9; + uwsgi_pass 127.0.0.1:8080; + } + } +} |