aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHolden Rohrer <hr@hrhr.dev>2020-01-15 23:27:37 -0500
committerHolden Rohrer <hr@hrhr.dev>2020-01-15 23:27:37 -0500
commit10e5bbe3b9808a5e2103a7bb416c02ca3e1e35a4 (patch)
tree27f436f281eb1190195e70e25afdfebebf86e220
parent90d40083d4834352affaa4e00fc289cc95b6795c (diff)
added tested nginx example
-rw-r--r--nginx.example.conf17
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;
+ }
+ }
+}