From a26fc340ebb557320d36ceea46957fa14185488d Mon Sep 17 00:00:00 2001 From: emil28092005 Date: Sun, 18 Jan 2026 06:17:39 +0300 Subject: [PATCH] Testing Github webhook cicd. --- deploy/shagram/nginx/conf.d/default.conf | 44 ++---------------------- static/index.html | 4 +-- 2 files changed, 5 insertions(+), 43 deletions(-) diff --git a/deploy/shagram/nginx/conf.d/default.conf b/deploy/shagram/nginx/conf.d/default.conf index 51ee279..38ce220 100644 --- a/deploy/shagram/nginx/conf.d/default.conf +++ b/deploy/shagram/nginx/conf.d/default.conf @@ -5,26 +5,7 @@ upstream shagram_app { server { listen 80; server_name localhost; - - location = / { - add_header Cache-Control "no-store" always; - proxy_pass http://shagram_app; - proxy_http_version 1.1; - proxy_set_header Upgrade $http_upgrade; - proxy_set_header Connection "upgrade"; - proxy_set_header Host $host; - proxy_set_header X-Real-IP $remote_addr; - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - proxy_set_header X-Forwarded-Proto $scheme; - } - - location ^~ /static/ { - add_header Cache-Control "no-store" always; - proxy_pass http://shagram_app; - proxy_http_version 1.1; - proxy_set_header Host $host; - } - + location / { proxy_pass http://shagram_app; proxy_http_version 1.1; @@ -40,29 +21,10 @@ server { server { listen 443 ssl; server_name localhost; - + ssl_certificate /etc/nginx/certs/cert.pem; ssl_certificate_key /etc/nginx/certs/key.pem; - - location = / { - add_header Cache-Control "no-store" always; - proxy_pass http://shagram_app; - proxy_http_version 1.1; - proxy_set_header Upgrade $http_upgrade; - proxy_set_header Connection "upgrade"; - proxy_set_header Host $host; - proxy_set_header X-Real-IP $remote_addr; - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - proxy_set_header X-Forwarded-Proto $scheme; - } - - location ^~ /static/ { - add_header Cache-Control "no-store" always; - proxy_pass http://shagram_app; - proxy_http_version 1.1; - proxy_set_header Host $host; - } - + location / { proxy_pass http://shagram_app; proxy_http_version 1.1; diff --git a/static/index.html b/static/index.html index bd3618a..e93c3f3 100644 --- a/static/index.html +++ b/static/index.html @@ -1,7 +1,7 @@ - Shagram Chat TEST + Shagram Chat -

📱 Shagram Chat

+

📱 Shagram Chat TEST