Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server {
- root /var/www/html/cips/public;
- index index.php index.html index.htm;
- server_name cips.fakhry.me pcm-sdm.ndt-dev.com;
- location / {
- try_files $uri $uri/ /index.php?$query_string;
- }
- error_page 404 /404.html;
- error_page 500 502 503 504 /50x.html;
- location = /50x.html {
- root /usr/share/nginx/html;
- }
- location ~ \.php$ {
- include snippets/fastcgi-php.conf;
- fastcgi_pass unix:/run/php/php7.2-fpm.sock;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement