23 lines
554 B
Nginx Configuration File
23 lines
554 B
Nginx Configuration File
|
server {
|
||
|
listen 80;
|
||
|
server_name opnform;
|
||
|
root /app/public;
|
||
|
|
||
|
access_log /dev/stdout;
|
||
|
error_log /dev/stderr error;
|
||
|
|
||
|
index index.html index.htm index.php;
|
||
|
|
||
|
location / {
|
||
|
try_files $uri $uri/ /index.php$is_args$args;
|
||
|
}
|
||
|
|
||
|
location ~ \.php$ {
|
||
|
fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
||
|
fastcgi_pass unix:/var/run/php-fpm-opnform-site.sock;
|
||
|
fastcgi_index index.php;
|
||
|
include fastcgi.conf;
|
||
|
}
|
||
|
}
|
||
|
|