티스토리 뷰

공부

[nginx]

승가비 2024. 1. 9. 01:06
728x90

https://velog.io/@odh0112/Django-Static-file-Nginx%EB%A1%9C-%EC%B2%98%EB%A6%AC

 

[Django] - Static file Nginx로 처리

이전에 Nginx 정리하면서 해보지는 않았지만 간단히 포스팅 한 적 있는데 오늘 따라해보니깐 완전 산전수전~낼 회사가야 되는데 분노의 새벽 3시에 글써버리기HTTP 프로토콜을 이용해 정적 파일을

velog.io

https://jackerlab.com/nginx-redirect-port-forwarding/

 

[Nginx] Nginx HTTP redirect 및 포트포워딩(Port Forwarding) 설정⋆ JackerLab

Nginx 에서 HTTP 프로토콜에 대하여 HTTPS로 redirect 설정하는 것과 다른 포트로 포트포워딩(Port Forwarding) 하는 설정 내용을 정리합니다.

jackerlab.com

https://stackoverflow.com/questions/58530861/nginx-try-files-fallback-path-returns-404-when-using-url-query-args

 

Nginx try_files fallback path returns 404 when using url query args

Goal I have a folder /assets which contains files like index.hml, css/*, js/*, etc. Here is what I want to accomplish: / or index.html server index.html Try to try to a serve static file (css/ma...

stackoverflow.com

https://serverfault.com/questions/196929/how-to-reply-with-200-from-nginx-without-serving-a-file

 

How to reply with 200 from Nginx, without serving a file?

I have configured Apache to send back a 200 response without serving any file with this configuration line Redirect 200 /hello Can I do this with Nginx? I don't want to serve a file, I just want ...

serverfault.com

https://deoking.tistory.com/4

 

Linux/CentOS 7 Nginx 설치 및 설정

Overview CentOS 7 서버 환경에 Nginx를 설치하고 기본 설정 방법에 대해 정리했습니다. 1. yum 외부 저장소 추가/설치 yum 저장소에는 nginx가 없기 때문에 외부 저장소를 추가해야 한다. sudo vim /etc/yum.repos

deoking.tistory.com

https://icerabbit.tistory.com/116

 

728x90

'공부' 카테고리의 다른 글

[nginx] HTTP 로 들어오면 강제로 HTTPS 로 전환하도록 설정하기(force redirect to SSL)  (0) 2024.01.14
[Let’s Encrypt]  (0) 2024.01.09
[linux] CentOS export TMOUT=86400  (0) 2024.01.06
[mysql]  (0) 2024.01.06
[spring boot] ajp  (0) 2024.01.06
댓글