24 lines
506 B
Plaintext
Executable File
24 lines
506 B
Plaintext
Executable File
server {
|
|
listen 80 proxy_protocol;
|
|
|
|
server_name www.schroedercity.com;
|
|
set $base /var/www/SchroederCity;
|
|
root $base/public_html;
|
|
|
|
access_log /var/log/nginx/www.schroedercity.com-access.log;
|
|
error_log /var/log/nginx/www.schroedercity.com-error.log warn;
|
|
|
|
index index.php;
|
|
|
|
location / {
|
|
try_files $uri $uri/ /index.php?$query_string;
|
|
}
|
|
|
|
location ~ \.php$ {
|
|
fastcgi_pass unix:/var/run/php/php7.2-fpm.sock;
|
|
include conf.d/include/php_fastcgi.conf;
|
|
}
|
|
|
|
include conf.d/include/general.conf;
|
|
}
|