Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server {
- root /var/www/project/public;
- index index.html index.htm;
- server_name api.project.com;
- access_log /var/log/nginx/project.access.log;
- error_log /var/log/nginx/project.error.log notice;
- location / {
- proxy_pass http://localhost:9888;
- proxy_http_version 1.1;
- proxy_set_header Upgrade $http_upgrade;
- proxy_set_header Connection 'upgrade';
- proxy_set_header Host $host;
- proxy_cache_bypass $http_upgrade;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement