Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server {
- listen 80;
- root /var/www/html/phpipam;
- index index.php index.html index.htm index.nginx-debian.html;
- server_name 185.108.208.78;
- # phpipam
- location /phpipam/ {
- try_files $uri $uri/ /phpipam/index.php;
- index index.php;
- }
- # phpipam - api
- location /phpipam/api/ {
- try_files $uri $uri/ /phpipam/api/index.php;
- }
- # php-fpm
- location ~ \.php$ {
- fastcgi_pass unix:/run/php/php7.2-fpm.sock;
- fastcgi_index index.php;
- try_files $uri $uri/ index.php = 404;
- include fastcgi_params;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement