Skip to content
Snippets Groups Projects
Commit 464be5de authored by Jonas Leder's avatar Jonas Leder
Browse files

add vhost configuration

parent 1d48e043
No related branches found
No related tags found
1 merge request!47add Docker container
Pipeline #18359 passed
server {
listen 80 default_server;
listen [::]:80 default_server;
root /var/www/html/public;
index index.html index.htm index.php;
if (!-f $request_filename) {
rewrite ^/(.*)$ /index.php last;
}
location /build {
expires 14d;
add_header Cache-Control "public, no-transform";
}
location ~ \.php$ {
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
include fastcgi.conf;
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment