Advertisement
Guest User

Untitled

a guest
Mar 24th, 2017
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 0.54 KB | None | 0 0
  1. # Virtual Host IRC
  2. server {
  3.         # HTTP
  4.         listen 80;
  5.         listen [::]:80;
  6.        
  7.         server_name irc.example.com;
  8.        
  9.         root /var/www/thelounge/client;
  10.         index index.html;
  11.        
  12.         location / {
  13.                 try_files $uri $uri/ =404;
  14.                 add_header X-Robots-Tag "noindex, nofollow, noarchive, nosnippet";
  15.                 proxy_pass http://localhost:9000;
  16.                 proxy_redirect off;
  17.                 proxy_buffering off;
  18.                 proxy_set_header Host $host;
  19.                 proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
  20.         }
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement