Advertisement
Guest User

tube.chalphal.com

a guest
Jul 21st, 2017
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. server_names_hash_bucket_size 64;
  2.  
  3. server {
  4. #listen 443;
  5. listen 80;
  6. # tls configuration that is not covered in this guide
  7. # we recommend the use of https://certbot.eff.org/
  8. server_name tube.chalphal.com;
  9. # set the root
  10. root /srv/tube.chalphal.com;
  11. index index.html;
  12. location ~ ^/([a-zA-Z0-9=\?]+)$ {
  13. rewrite ^/(.*)$ / break;
  14. }
  15. location / {
  16. ssi on;
  17. }
  18. # BOSH
  19. location /http-bind {
  20. proxy_pass http://localhost:5280/http-bind;
  21. proxy_set_header X-Forwarded-For $remote_addr;
  22. proxy_set_header Host $http_host;
  23. }
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement