반응형 nginx2 flask-restplus nginx proxy_pass 했을때 swaggerui가 안보일때 보통 flask를 쓸떄, gunicon에 묶은다음 nginx에서 proxy_pass로 넘겨쓰는 케이스가 있습니다 이때 swaggerui를 못찾을때가 있는데, nginx.conf에 해당 내용을 넣어줘야 합니다 location /swaggerui { proxy_pass http://127.0.0.1:8080/swaggerui; 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-Host $server_name; } https://github.com/noirbizarre/flas.. 2020. 5. 6. NginX nginx (pronounced engine-x) is a free, open-source, high-performance HTTP server and reverse proxy, as well as an IMAP/POP3 proxy server. Igor Sysoev started development of Nginx in 2002, with the first public release in 2004. Nginx now hosts nearly 12.18% (22.2M) of active sites across all domains. Nginx is known for its high performance, stability, rich feature set, simple configuration, and l.. 2013. 1. 3. 이전 1 다음 반응형