summaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
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;
+ }
+}