23 lines
633 B
Plaintext
23 lines
633 B
Plaintext
; This
|
|
server {
|
|
listen 80;
|
|
server_name localhost;
|
|
|
|
root /var/www/cgk-rooster-streamen/public;
|
|
index index.php index.html;
|
|
|
|
location / {
|
|
try_files $uri $uri/ /index.php?$query_string;
|
|
}
|
|
|
|
location ~ \.php$ {
|
|
include fastcgi_params;
|
|
fastcgi_pass php-cgk-rooster-streamen:9000;
|
|
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
|
|
fastcgi_param DOCUMENT_ROOT $realpath_root;
|
|
fastcgi_param HTTP_COOKIE $http_cookie;
|
|
}
|
|
|
|
error_log /var/log/nginx/cgk-rooster-streamen-error.log;
|
|
access_log /var/log/nginx/cgk-rooster-streamen-access.log;
|
|
} |