Advertisement
KRDucky

nginx conf

Oct 6th, 2023
1,343
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Nginx 1.05 KB | None | 0 0
  1. # ------------------------------------------------------------
  2. # heresygaming.com, www.heresygaming.com
  3. # ------------------------------------------------------------
  4.  
  5.  
  6. server {
  7.   set $forward_scheme http;
  8.   set $server         "192.168.1.115";
  9.   set $port           8082;
  10.  
  11.   listen 80;
  12. #listen [::]:80;
  13.  
  14. listen 443 ssl http2;
  15. #listen [::]:443;
  16.  
  17.  
  18.   server_name heresygaming.com www.heresygaming.com;
  19.  
  20.  
  21.   # Let's Encrypt SSL
  22.   include conf.d/include/letsencrypt-acme-challenge.conf;
  23.   include conf.d/include/ssl-ciphers.conf;
  24.   ssl_certificate /etc/letsencrypt/live/npm-1/fullchain.pem;
  25.   ssl_certificate_key /etc/letsencrypt/live/npm-1/privkey.pem;
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.   # Block Exploits
  33.   include conf.d/include/block-exploits.conf;
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.     # Force SSL
  42.     include conf.d/include/force-ssl.conf;
  43.  
  44.  
  45.  
  46.  
  47.  
  48.   access_log /data/logs/proxy-host-1_access.log proxy;
  49.   error_log /data/logs/proxy-host-1_error.log warn;
  50.  
  51. location / {
  52.    root /data/heresygaming.com;
  53. }
  54.  
  55.  
  56.  
  57.  
  58.  
  59.   # Custom
  60.   include /data/nginx/custom/server_proxy[.]conf;
  61. }
  62.  
  63.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement