1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 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; } }