hacktoberfestradarrplexorganizrnginxthemedark-themesonarrdocker-modsdark-themesdark-modecustom-csscssthemes-customthemes-csssubfilterguacamoleskinsombilidarr
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
940 B
31 lines
940 B
server {
|
|
listen 80 default_server;
|
|
listen [::]:80 default_server;
|
|
listen 443 ssl http2;
|
|
listen [::]:443 ssl http2;
|
|
|
|
server_name _;
|
|
|
|
ssl_certificate /config/keys/cert.crt;
|
|
ssl_certificate_key /config/keys/cert.key;
|
|
|
|
root /config/www;
|
|
index index.html index.htm index.php;
|
|
|
|
location / {
|
|
sub_filter_types *;
|
|
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;
|
|
sub_filter_once off;
|
|
try_files $uri $uri/ /index.html;
|
|
}
|
|
|
|
# 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;
|
|
}
|
|
|