목록linux/nginx (4)
우도비
https://www.digitalocean.com/community/tutorials/how-to-set-up-a-node-js-application-for-production-on-ubuntu-16-04IntroductionNode.js is an open source JavaScript runtime environment for easily building server-side and networking applications. The platform runs on Linux, OS X, FreeBSD, and Windows. Node.js applications can be run at the command line, but we'll focus on running them as a service..
http://uwsgi-docs.readthedocs.io/en/latest/Snippets.html Python Auto-reloading (DEVELOPMENT ONLY!)In production you can monitor file/directory changes for triggering reloads (touch-reload, fs-reload...).During development having a monitor for all of the loaded/used python modules can be handy. But please use it only during development.The check is done by a thread that scans the modules list wit..
https://www.digitalocean.com/community/tutorials/how-to-serve-flask-applications-with-uwsgi-and-nginx-on-ubuntu-16-04 IntroductionIn this guide, we will be setting up a simple Python application using the Flask micro-framework on Ubuntu 16.04. The bulk of this article will be about how to set up the uWSGI application server to launch the application and Nginx to act as a front end reverse proxy...
http://blog.tjsrms.me/nginx-www-%EC%9E%90%EB%8F%99%EC%9C%BC%EB%A1%9C-%EB%B6%99%EC%9D%B4%EA%B8%B0/ 메인 주소를 이용하여http://www.aaa.com과http://aaa.com가 같은 사이트일때 Nginx WWW 도메인으로 자동으로 붙이는 방법입니다. 구글의 웹컨텐츠 작성 가이드 라인에 따르면 301 리다이렉션을 사용하여 선호 도메인을 설정하는 방법을 권장하고 있습니다. 12345server { listen 80; server_name example.com; return 301 http://www.example.com$request_uri;}301리다이렉션을 사용하는 이유는아래 구글 웹마스터 도구 Supoort 페이지에서 자세..