Advertisement
Guest User

Untitled

a guest
Apr 6th, 2020
180
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Nginx 0.49 KB | None | 0 0
  1. server {
  2.         listen 80;
  3. #        listen [::]:80 default_server;
  4.  
  5.         root /home/obilous/domains/StudentShare-New/backend/web;
  6.         index index.php;
  7.  
  8.         server_name admin.es-student.loc;
  9.  
  10.         location / {
  11.         try_files $uri $uri/ /index.php?$args;
  12.         }
  13.  
  14.         location ~ \.php$ {
  15.             include snippets/fastcgi-php.conf;
  16.             fastcgi_pass unix:/var/run/php/php7.1-fpm.sock;
  17.         }
  18.  
  19.         location ~ /\.ht {
  20.             deny all;
  21.         }
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement