Testing Github webhook cicd.
This commit is contained in:
@@ -5,26 +5,7 @@ upstream shagram_app {
|
|||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name localhost;
|
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 / {
|
location / {
|
||||||
proxy_pass http://shagram_app;
|
proxy_pass http://shagram_app;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
@@ -40,29 +21,10 @@ server {
|
|||||||
server {
|
server {
|
||||||
listen 443 ssl;
|
listen 443 ssl;
|
||||||
server_name localhost;
|
server_name localhost;
|
||||||
|
|
||||||
ssl_certificate /etc/nginx/certs/cert.pem;
|
ssl_certificate /etc/nginx/certs/cert.pem;
|
||||||
ssl_certificate_key /etc/nginx/certs/key.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 / {
|
location / {
|
||||||
proxy_pass http://shagram_app;
|
proxy_pass http://shagram_app;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
|
|||||||
+2
-2
@@ -1,7 +1,7 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>Shagram Chat TEST</title>
|
<title>Shagram Chat</title>
|
||||||
<style>
|
<style>
|
||||||
body { font-family: Arial; margin: 20px; }
|
body { font-family: Arial; margin: 20px; }
|
||||||
#messages {
|
#messages {
|
||||||
@@ -26,7 +26,7 @@
|
|||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<h1>📱 Shagram Chat</h1>
|
<h1>📱 Shagram Chat TEST</h1>
|
||||||
|
|
||||||
<div id="roomsList">
|
<div id="roomsList">
|
||||||
<select id="roomSelect">
|
<select id="roomSelect">
|
||||||
|
|||||||
Reference in New Issue
Block a user