summaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
authorJoel Klinghed <the_jk@spawned.biz>2021-11-17 22:44:54 +0100
committerJoel Klinghed <the_jk@spawned.biz>2021-11-17 22:44:54 +0100
commite88abdb4372520cfa9b63a8e22ae2e7ba14e8dc6 (patch)
tree12235037916de3fe756975c3f5a1802a6dfa3869 /example
parent6232d13f5321b87ddf12a1aa36b4545da45f173d (diff)
Add example nginx config snippet
Diffstat (limited to 'example')
-rw-r--r--example/nginx.conf20
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;
+ }
+}