Add docker deployment
All checks were successful
build docker image / docker-build (push) Successful in 1m40s

This commit is contained in:
2024-11-04 18:07:51 +02:00
parent ed38c8ed64
commit 13f81622db
2 changed files with 18 additions and 10 deletions

View File

@ -3,17 +3,17 @@ server {
server_name default;
root /var/www/html;
index index.php;
index index.html;
client_max_body_size 5m;
client_body_timeout 60;
location / {
try_files $uri $uri/ @rewrite;
}
try_files $uri $uri/ /index.html;
location @rewrite {
rewrite ^/(.*)$ /index.php;
if (!-e $request_filename) {
rewrite ^/(.*)$ /index.html last;
}
}
location ~ \.php$ {
@ -23,7 +23,7 @@ server {
}
location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ {
try_files $uri /index.php;
try_files $uri /index.html;
expires max;
log_not_found off;
}