Restructure solution layout by module
This commit is contained in:
		@@ -1,22 +1,22 @@
 | 
			
		||||
server {
 | 
			
		||||
    listen       8080;
 | 
			
		||||
    listen       [::]:8080;
 | 
			
		||||
    server_name  _;
 | 
			
		||||
 | 
			
		||||
    root   /usr/share/nginx/html;
 | 
			
		||||
    index  index.html;
 | 
			
		||||
 | 
			
		||||
    location / {
 | 
			
		||||
        try_files $uri $uri/ /index.html;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    location ~* \.(?:js|css|svg|png|jpg|jpeg|gif|ico|woff2?)$ {
 | 
			
		||||
        add_header Cache-Control "public, max-age=2592000";
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    location = /healthz {
 | 
			
		||||
        access_log off;
 | 
			
		||||
        add_header Content-Type text/plain;
 | 
			
		||||
        return 200 'ok';
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
server {
 | 
			
		||||
    listen       8080;
 | 
			
		||||
    listen       [::]:8080;
 | 
			
		||||
    server_name  _;
 | 
			
		||||
 | 
			
		||||
    root   /usr/share/nginx/html;
 | 
			
		||||
    index  index.html;
 | 
			
		||||
 | 
			
		||||
    location / {
 | 
			
		||||
        try_files $uri $uri/ /index.html;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    location ~* \.(?:js|css|svg|png|jpg|jpeg|gif|ico|woff2?)$ {
 | 
			
		||||
        add_header Cache-Control "public, max-age=2592000";
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    location = /healthz {
 | 
			
		||||
        access_log off;
 | 
			
		||||
        add_header Content-Type text/plain;
 | 
			
		||||
        return 200 'ok';
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user