nginx
This is an old revision of the document!
Table of Contents
Nginx Things
Reference Notes
Actually pretty decent reference Nginx Beginners Guide
location
location / {
/ refers to the URI, so in this case the root URI
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.1767744144.txt.gz · Last modified: by lex
