User Tools

Site Tools


nginx

This is an old revision of the document!


Nginx Things

Reference Notes

Uhhhh

Examples

Basic Proxy Pass

server {
	listen 80;
	listen [::]:80;

	server_name cloud.lexrudera.net cloud.pulsewave.co;
	
	access_log /var/log/nginx/access-nextcloud80.log;
	error_log /var/log/nginx/error-nextcloud80.log;

	client_max_body_size 10G;
	fastcgi_buffers 64 4k;

	location / {
		proxy_pass http://192.168.0.102:8080;
	}
}

Basic UWSGI Pass

Like to a Gunicorn instance.

server
{
	listen 80;
	server_name radiotest.kirin.software;	
	
	location ~ {
		include uwsgi_params;
		uwsgi_pass unix:/var/run/uwsgi/radiotest.sock;
	}
}
nginx.1767727934.txt.gz · Last modified: by lex

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki