inception/srcs/requirements/nginx/conf/nginx.conf
2022-09-14 21:43:45 +02:00

23 lines
382 B
Nginx Configuration File

upstream php {
server unix:/tmp/php-cgi.socket;
server php:3030;
}
server {
listen 80;
server_name wordpress-docker.test;
root /var/www/html;
index index.php;
location / {
try_files $uri $uri/ /index.php?$args;
}
location ~ \.php$ {
include fastcgi.conf;
fastcgi_intercept_errors on;
fastcgi_pass php;
}
}