fix
This commit is contained in:
		
							parent
							
								
									5de55a05aa
								
							
						
					
					
						commit
						bb962c6c9b
					
				
							
								
								
									
										40
									
								
								443.conf
									
									
									
									
									
								
							
							
						
						
									
										40
									
								
								443.conf
									
									
									
									
									
								
							| @ -163,32 +163,32 @@ server { | ||||
|         proxy_pass http://212.193.59.173:8077/; | ||||
|     } | ||||
| } | ||||
| # server { | ||||
| #     # listen 80; | ||||
| #     listen 443 ssl http2; | ||||
| #     listen [::]:443 ssl http2; | ||||
| server { | ||||
|     # listen 80; | ||||
|     listen 443 ssl http2; | ||||
|     listen [::]:443 ssl http2; | ||||
|      | ||||
| #     server_name service.inno-js.ru; | ||||
|     server_name service.inno-js.ru; | ||||
| 
 | ||||
| #     ssl_certificate /etc/letsencrypt/live/inno-js.ru-0001/fullchain.pem; | ||||
| #     ssl_certificate_key /etc/letsencrypt/live/inno-js.ru-0001/privkey.pem; | ||||
| #     ssl_trusted_certificate /etc/letsencrypt/live/inno-js.ru-0001/chain.pem; | ||||
|     ssl_certificate /etc/letsencrypt/live/inno-js.ru-0001/fullchain.pem; | ||||
|     ssl_certificate_key /etc/letsencrypt/live/inno-js.ru-0001/privkey.pem; | ||||
|     ssl_trusted_certificate /etc/letsencrypt/live/inno-js.ru-0001/chain.pem; | ||||
|      | ||||
| #     # ssl_prefer_server_ciphers on; | ||||
| #     ssl_verify_client off; | ||||
|     # ssl_prefer_server_ciphers on; | ||||
|     ssl_verify_client off; | ||||
|      | ||||
| #     include "parts/api-multystub.conf"; | ||||
|     include "parts/api-multystub.conf"; | ||||
| 
 | ||||
| #     include /etc/nginx/snippets/ssl-params.conf; | ||||
|     include /etc/nginx/snippets/ssl-params.conf; | ||||
|      | ||||
| #     location / { | ||||
| #         add_header 'Access-Control-Allow-Origin' '*'; | ||||
| #         add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS'; | ||||
| #         add_header 'Access-Control-Allow-Headers' 'DNT,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range'; | ||||
| #         add_header 'Access-Control-Expose-Headers' 'Content-Length,Content-Range'; | ||||
| #         proxy_pass http://212.193.63.122:8079/; | ||||
| #     } | ||||
| # } | ||||
|     location / { | ||||
|         add_header 'Access-Control-Allow-Origin' '*'; | ||||
|         add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS'; | ||||
|         add_header 'Access-Control-Allow-Headers' 'DNT,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range'; | ||||
|         add_header 'Access-Control-Expose-Headers' 'Content-Length,Content-Range'; | ||||
|         proxy_pass http://212.193.63.122:8079/; | ||||
|     } | ||||
| } | ||||
| 
 | ||||
| server { | ||||
|     # listen 80; | ||||
|  | ||||
| @ -32,7 +32,7 @@ location /cms/ { | ||||
| 
 | ||||
| location /socket.io/ { | ||||
| 
 | ||||
|     proxy_pass          http://zc; | ||||
|     proxy_pass          http://websocket; | ||||
| 
 | ||||
|     proxy_http_version  1.1; | ||||
|     proxy_redirect      off; | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user