Advertisement
Guest User

Untitled

a guest
May 25th, 2018
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.24 KB | None | 0 0
  1.  
  2. upstream transmission {
  3. server 127.0.0.1:9091; #Transmission
  4. }
  5.  
  6. server {
  7. listen 8089 default_server;
  8. server_name sorever.online www.sorever.online;
  9. location ^~ /.well-known/acme-challenge {
  10. proxy_pass http://127.0.0.1:81;
  11. include /etc/nginx/proxy.conf;
  12. }
  13.  
  14. location / {
  15. return 301 https://$host$request_uri;
  16. }
  17. }
  18.  
  19. server {
  20. listen 443 ssl http2 default_server;
  21. server_name sorever.online www.sorever.online;
  22. # root /etc/organizr/Organizr;
  23. access_log /var/log/nginx/organizr.access.log main;
  24. error_log /var/log/nginx/organizr.error.log warn;
  25. location = /robots.txt {
  26. allow all;
  27. log_not_found off;
  28. access_log off;
  29.  
  30. # Set Google's public DNS servers as upstream resolver
  31. resolver 8.8.8.8 8.8.4.4 valid=300s;
  32. resolver_timeout 5s;
  33.  
  34. }
  35. ##############################################################################################################
  36. # Optional GeoIP blocking / comment this out if your Nginx is not compiled with GeoIP module #
  37. ##############################################################################################################
  38. #
  39. # if ($allowed_country = yes) {
  40. # set $exclusions 1;
  41. # }
  42. # if ($exclusions = "0") {
  43. # return 403;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement