Advertisement
misteralexander

Untitled

Dec 19th, 2024
35
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Nginx 0.53 KB | Source Code | 0 0
  1. worker_processes 1;
  2.  
  3. events {
  4.     worker_connections 1024;
  5. }
  6.  
  7. http {
  8.     server {
  9.         listen 80;
  10.         server_name docker.int.snyderfamily.co;
  11.  
  12.         root /var/www/html;
  13.         index index.php index.html;
  14.  
  15.         location / {
  16.             try_files $uri $uri/ =404;
  17.         }
  18.  
  19.         location ~ \.php$ {
  20.             include fastcgi_params;
  21.             fastcgi_pass php-fpm:9000;
  22.             fastcgi_index index.php;
  23.             fastcgi_param SCRIPT_FILENAME /var/www/html$fastcgi_script_name;
  24.         }
  25.     }
  26. }
  27.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement