accounts/deploy/nginx-location.conf (382 bytes)
1 # Example for nginx. Add this block to the server block of recentlywritten.com. nginx 2 # continues to serve the static site. It sends only /account/ to the 3 # accounts service. 4 location /account/ { 5 proxy_pass http://127.0.0.1:8081; 6 proxy_set_header Host $host; 7 proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; 8 proxy_set_header X-Forwarded-Proto $scheme; 9 }