Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- upstream web {
- ip_hash;
- server web:8000;
- }
- # portal
- server {
- location / {
- proxy_pass http://web/;
- }
- listen 8000;
- server_name localhost;
- location /static/ {
- autoindex on;
- alias /srv/static/;
- }
- location /media/ {
- autoindex on;
- alias /srv/media/;
- }
- }
Add Comment
Please, Sign In to add comment