Add docker deployment
All checks were successful
build docker image / docker-build (push) Successful in 1m40s
All checks were successful
build docker image / docker-build (push) Successful in 1m40s
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user