FlorentPoujol

Superpowers Nginx config

Sep 20th, 2015
184
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. server {
  2. root /var/www/superpowers;
  3. index index.html index.htm;
  4.  
  5. access_log /var/www/superpowers/logs/nginx_access.log;
  6. error_log /var/www/superpowers/logs/nginx_access.log;
  7.  
  8. server_name superpowers.florentpoujol.fr;
  9.  
  10. location / {
  11. proxy_pass http://localhost:4237;
  12. proxy_http_version 1.1;
  13. proxy_set_header Upgrade $http_upgrade;
  14. proxy_set_header Connection "upgrade";
  15. proxy_set_header Host $host;
  16. }
  17. }
Advertisement
Add Comment
Please, Sign In to add comment