Skip to content

Commit

Permalink
Re-add managed config files
Browse files Browse the repository at this point in the history
  • Loading branch information
MTecknology committed Feb 21, 2024
1 parent a772e92 commit 0888960
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion states/nginx/configs/soberpage.conf
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ server {

# Forward to external domain
server_name *.sobersupport.group;
return 304 $canonical_redirect;
return 302 $canonical_redirect;

# Increase cache lifetime
add_header Cloudflare-CDN-Cache-Control max-age=43200;
Expand Down
3 changes: 3 additions & 0 deletions states/nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ http {
keepalive_timeout 65;
types_hash_max_size 2048;
# server_tokens off;
etag on;

# server_names_hash_bucket_size 64;
# server_name_in_redirect off;
Expand Down Expand Up @@ -60,6 +61,8 @@ http {

#include /etc/nginx/conf.d/*.conf;
#include /etc/nginx/sites-enabled/*;
include /etc/nginx/conf.d/no-tokens.conf;
include /etc/nginx/conf.d/ssl-settings.conf;
{%- for webapp in salt.pillar.get('webapps', {}).keys() %}
include /etc/nginx/conf.d/{{ webapp }}.conf;
{%- endfor %}
Expand Down

0 comments on commit 0888960

Please sign in to comment.