Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 5b73f460

Přidáno uživatelem Michal Schwob před asi 2 roky(ů)

  • ID 5b73f4607a395f4715529815ed4646f36c658276
  • Rodič 7e048a58

Deployment changes
re #9333

Zobrazit rozdíly:

frontend/nginx/nginx.conf
1
server {
2
    listen 80;
3

  
4
    root   /usr/share/nginx/html;
1
server{
2
    listen 3000;
5 3

  
6 4
    location / {
7
        index  index.html index.htm;
5
        root /usr/share/nginx/html;
6
        index index.html index.htm;
8 7
        try_files $uri $uri/ /index.html;
9 8
    }
10

  
11
    location /api/ {
12
        proxy_pass http://app-backend:8080/api/;
13
        proxy_http_version 1.1;
14
        proxy_set_header Upgrade $http_upgrade;
15
        proxy_set_header Connection 'upgrade';
16
        proxy_set_header Host $host;
17
        proxy_cache_bypass $http_upgrade;
18
    }
19 9
}

Také k dispozici: Unified diff