1
0

pagure-nginx.conf 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. #server {
  2. #listen 80;
  3. #server_name docs.localhost.localdomain;
  4. #return 301 https://docs.localhost.localdomain$request_uri;
  5. #}
  6. #server {
  7. #listen 443 ssl;
  8. #server_name docs.localhost.localdomain;
  9. #access_log /var/log/nginx/pagure_docs.access.log;
  10. #error_log /var/log/nginx/pagure_docs.error.log;
  11. #ssl_certificate /etc/pki/tls/....crt
  12. #ssl_certificate_key /etc/pki/tls/....key
  13. #location @pagure_docs {
  14. #proxy_set_header Host $http_host;
  15. #proxy_set_header X-Real-IP $remote_addr;
  16. #proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
  17. #proxy_set_header X-Forwarded-Proto $scheme;
  18. #proxy_pass http://unix:/tmp/pagure_docs_web.sock;
  19. #}
  20. #location / {
  21. #try_files $uri @pagure_docs;
  22. #}
  23. #}
  24. #server {
  25. #listen 80;
  26. #server_name localhost.localdomain;
  27. #return 301 https://localhost.localdomain$request_uri;
  28. #}
  29. #server {
  30. #listen 443 ssl;
  31. #server_name localhost.localdomain;
  32. #access_log /var/log/nginx/pagure.access.log;
  33. #error_log /var/log/nginx/pagure.error.log;
  34. #ssl_certificate /etc/pki/tls/....crt
  35. #ssl_certificate_key /etc/pki/tls/....key
  36. #location @pagure {
  37. #proxy_set_header Host $http_host;
  38. #proxy_set_header X-Real-IP $remote_addr;
  39. #proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
  40. #proxy_set_header X-Forwarded-Proto $scheme;
  41. #proxy_pass http://unix:/tmp/pagure_web.sock;
  42. #}
  43. #location / {
  44. #try_files $uri @pagure;
  45. #}
  46. #location /releases {
  47. #alias /var/www/releases/;
  48. #autoindex on;
  49. #}
  50. #}