Remove tabs

This commit is contained in:
Alexandre
2022-10-31 09:32:53 +01:00
parent e7ffdb5caa
commit ea550cb9df
4 changed files with 108 additions and 108 deletions

View File

@@ -1,17 +1,17 @@
:%%port%% {
@proxied path /api/* /docs /openapi.json
@proxied path /api/* /docs /openapi.json
@static {
file
path *.ico *.css *.js *.gif *.jpg *.jpeg *.png *.svg *.woff *.woff2 *.webp
}
@static {
file
path *.ico *.css *.js *.gif *.jpg *.jpeg *.png *.svg *.woff *.woff2 *.webp
}
encode gzip zstd
encode gzip zstd
# Handles Recipe Images / Assets
handle_path /api/media/recipes/* {
header Access-Control-Allow-Origin *
# Handles Recipe Images / Assets
handle_path /api/media/recipes/* {
header Access-Control-Allow-Origin *
header X-Content-Type-Options nosniff
header X-Robots-Tag none
header -X-Frame-Options
@@ -22,15 +22,15 @@
header X-Forwarded-For $proxy_add_x_forwarded_for
header X-Forwarded-Proto $scheme
header X-NginX-Proxy true
header X-External-Path $http_x_ingress_path
header X-External-Path $http_x_ingress_path
header X-Real-IP $remote_addr
header @static Cache-Control max-age=31536000
root * /app/data/recipes/
file_server
}
header @static Cache-Control max-age=31536000
root * /app/data/recipes/
file_server
}
handle @proxied {
header Access-Control-Allow-Origin *
handle @proxied {
header Access-Control-Allow-Origin *
header X-Content-Type-Options nosniff
header X-Robots-Tag none
header -X-Frame-Options
@@ -42,13 +42,13 @@
header X-Forwarded-Proto $scheme
header X-NginX-Proxy true
header X-Real-IP $remote_addr
header X-External-Path $http_x_ingress_path;
rewrite * {Referer}{uri}
reverse_proxy http://127.0.0.1:9000
}
header X-External-Path $http_x_ingress_path;
rewrite * {Referer}{uri}
reverse_proxy http://127.0.0.1:9000
}
handle {
header Access-Control-Allow-Origin *
handle {
header Access-Control-Allow-Origin *
header X-Content-Type-Options nosniff
header X-Robots-Tag none
header -X-Frame-Options
@@ -60,11 +60,11 @@
header X-Forwarded-Proto $scheme
header X-NginX-Proxy true
header X-Real-IP $remote_addr
header X-External-Path $http_x_ingress_path;
header @static Cache-Control max-age=31536000
root * /app/dist
try_files {path}.html {path} /
file_server
}
header X-External-Path $http_x_ingress_path;
header @static Cache-Control max-age=31536000
root * /app/dist
try_files {path}.html {path} /
file_server
}
}