mirror of
				https://github.com/avatao-content/baseimage-tutorial-framework
				synced 2025-11-04 12:42:55 +00:00 
			
		
		
		
	Unify Docker container config file locations to project root
This commit is contained in:
		@@ -1,30 +0,0 @@
 | 
			
		||||
server {
 | 
			
		||||
    listen ${TFW_PUBLIC_PORT};
 | 
			
		||||
    server_name localhost;
 | 
			
		||||
    proxy_connect_timeout 7d;
 | 
			
		||||
    proxy_send_timeout 7d;
 | 
			
		||||
    proxy_read_timeout 7d;
 | 
			
		||||
 | 
			
		||||
    location = /ws {
 | 
			
		||||
        proxy_pass http://127.0.0.1:${TFW_WEB_PORT};
 | 
			
		||||
        proxy_http_version 1.1;
 | 
			
		||||
        proxy_set_header Upgrade $http_upgrade;
 | 
			
		||||
        proxy_set_header Connection "Upgrade";
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    location = /terminal {
 | 
			
		||||
        proxy_pass http://127.0.0.1:${TFW_TERMINADO_PORT};
 | 
			
		||||
        proxy_http_version 1.1;
 | 
			
		||||
        proxy_set_header Upgrade $http_upgrade;
 | 
			
		||||
        proxy_set_header Connection "upgrade";
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    location = /login {
 | 
			
		||||
        proxy_pass http://127.0.0.1:${TFW_LOGIN_APP_PORT};
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    location / {
 | 
			
		||||
        root ${TFW_FRONTEND_DIR};
 | 
			
		||||
        try_files $uri $uri/ index.html;
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user