Advertisement
Guest User

Untitled

a guest
Jan 16th, 2018
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. server {
  2. root /var/www/project/public;
  3. index index.html index.htm;
  4.  
  5. server_name api.project.com;
  6. access_log /var/log/nginx/project.access.log;
  7. error_log /var/log/nginx/project.error.log notice;
  8.  
  9. location / {
  10. proxy_pass http://localhost:9888;
  11. proxy_http_version 1.1;
  12. proxy_set_header Upgrade $http_upgrade;
  13. proxy_set_header Connection 'upgrade';
  14. proxy_set_header Host $host;
  15. proxy_cache_bypass $http_upgrade;
  16. }
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement