1
0
mirror of https://github.com/gilbN/theme.park.git synced 2024-09-11 19:32:24 +02:00
theme.park/docker/root/defaults/default

27 lines
787 B
Plaintext
Raw Normal View History

2022-03-20 17:16:25 +01:00
server {
listen 80 default_server;
listen [::]:80 default_server;
server_name _;
2022-03-22 10:05:36 +01:00
root /config/www;
2022-03-20 17:16:25 +01:00
index index.html index.htm index.php;
location / {
sub_filter_types *;
2022-03-26 20:44:34 +01:00
sub_filter 'https://theme-park.dev' https://TP_DOMAIN;
sub_filter 'http://theme-park.dev' http://TP_DOMAIN;
sub_filter 'https://develop.theme-park.dev' https://TP_DOMAIN;
sub_filter 'http://develop.theme-park.dev' http://TP_DOMAIN;
2022-03-20 17:16:25 +01:00
sub_filter_once off;
2022-03-22 10:05:36 +01:00
try_files $uri $uri/ /index.html;
2022-03-20 17:16:25 +01:00
}
# Don't cache
add_header Last-Modified $date_gmt;
add_header Cache-Control 'no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0';
if_modified_since off;
expires -1;
etag off;
}