Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- worker_processes 1;
- events {
- worker_connections 1024;
- }
- http {
- include mime.types;
- default_type application/octet-stream;
- sendfile on;
- keepalive_timeout 65;
- server {
- listen 8080;
- server_name localhost;
- location / {
- proxy_pass http://192.168.0.101:80;
- }
- location /ws/ {
- proxy_pass ws://192.168.0.101:80/ws;
- proxy_set_header Upgrade $http_upgrade;
- proxy_set_header Connection $connection_upgrade;
- }
- error_page 500 502 503 504 /50x.html; location = /50x.html {
- root html; }
- }
- include servers/*;}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement