daily pastebin goal
3%
SHARE
TWEET

Untitled

a guest Mar 13th, 2018 53 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. server {
  2.     listen 80;
  3.     return 301 https://$host$request_uri;
  4. }
  5.  
  6. server {
  7.  
  8.     listen 443;
  9.     server_name dash.redacted;
  10.     ssl_certificate /etc/letsencrypt/live/dash.redacted/fullchain.pem; # managed by Certbot
  11.     ssl_certificate_key /etc/letsencrypt/live/dash.redactedprivkey.pem; # managed by Certbot
  12.  
  13.     ssl on;
  14.     ssl_session_cache  builtin:1000  shared:SSL:10m;
  15.     ssl_protocols  TLSv1 TLSv1.1 TLSv1.2;
  16.     ssl_prefer_server_ciphers on;
  17.  
  18.     root /opt/Organizr;
  19.     index index.php;
  20.  
  21.     access_log            /var/log/nginx/auth.access.log;
  22.     error_log             /var/log/nginx/auth.error.log;
  23.  
  24.     location ~ ^.+?\.php(/.*)?$ {
  25.         fastcgi_pass unix:/run/php/php7.0-fpm.sock;
  26.         fastcgi_split_path_info ^(.+\.php)(/.*)$;
  27.         fastcgi_param PATH_INFO $fastcgi_path_info;
  28.         include fastcgi_params;
  29.         fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
  30.     }
  31.  
  32.  
  33. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top