darkreeper

Pi_nginx_gbridge

Nov 21st, 2019
746
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. server {
  2.     listen 80;
  3.     listen 127.0.0.1;
  4.     index index.php index.html;
  5.     root /var/www/public;
  6.  
  7.     location ~ \.php$ {
  8.         try_files $uri =404;
  9.         fastcgi_split_path_info ^(.+\.php)(/.+)$;
  10.         fastcgi_pass web-fpm:9000;
  11.         fastcgi_index index.php;
  12.         include fastcgi_params;
  13.         fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
  14.         fastcgi_param PATH_INFO $fastcgi_path_info;
  15.     }
  16.  
  17.     location / {
  18.         try_files $uri $uri/ /index.php?$query_string;
  19.         gzip_static on;
  20.     }
  21. }
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×