diff options
| author | Joel Klinghed <the_jk@spawned.biz> | 2021-11-17 22:44:54 +0100 |
|---|---|---|
| committer | Joel Klinghed <the_jk@spawned.biz> | 2021-11-17 22:44:54 +0100 |
| commit | e88abdb4372520cfa9b63a8e22ae2e7ba14e8dc6 (patch) | |
| tree | 12235037916de3fe756975c3f5a1802a6dfa3869 | |
| parent | 6232d13f5321b87ddf12a1aa36b4545da45f173d (diff) | |
Add example nginx config snippet
| -rw-r--r-- | example/nginx.conf | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/example/nginx.conf b/example/nginx.conf new file mode 100644 index 0000000..d6a3199 --- /dev/null +++ b/example/nginx.conf @@ -0,0 +1,20 @@ +server { + listen 8080; + server_name travel3; + + location / { + proxy_pass http://127.0.0.1:5555; +# fastcgi_pass 127.0.0.1:5555; +# include fastcgi_params; + } + + location /static/ { + internal; + root /home/the_jk/travels; + } + + location /media/ { + internal; + root /home/the_jk/travels; + } +} |
