Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Virtual Host IRC
- server {
- # HTTP
- listen 80;
- listen [::]:80;
- server_name irc.example.com;
- root /var/www/thelounge/client;
- index index.html;
- location / {
- try_files $uri $uri/ =404;
- add_header X-Robots-Tag "noindex, nofollow, noarchive, nosnippet";
- proxy_pass http://localhost:9000;
- proxy_redirect off;
- proxy_buffering off;
- proxy_set_header Host $host;
- proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement