Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server {
- listen 80;
- server_name realworld-docker.local;
- location / {
- proxy_pass http://frontend:3000;
- # WebSocket proxying
- proxy_http_version 1.1;
- proxy_set_header Upgrade $http_upgrade;
- proxy_set_header Connection "upgrade";
- }
- location /api {
- proxy_pass http://api:3000;
- }
- location /auth {
- proxy_pass http://auth:3000;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement