svelte architecture separation of global css and layouts and websockets init

This commit is contained in:
simplonco
2022-12-28 18:43:14 +01:00
11 changed files with 1477 additions and 1125 deletions

View File

@@ -12,16 +12,12 @@ server {
proxy_pass http://backend_dev:3000;
}
location /chat {
# 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;
# proxy_pass http://backend_dev:8080/api/v2/chat;
proxy_pass http://backend_dev:8080/api/v2/chat;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;
proxy_set_header Host $host;
proxy_set_header Connection "upgrade";
proxy_pass http://backend_dev:5000/chat;
}
location / {
proxy_set_header Host $host;