Nginx

From Chorke Wiki
Jump to navigation Jump to search
sudo apt install nginx

Reverse Proxy

location /minio/ {
   proxy_set_header Host $http_host;
   proxy_set_header X-Forwarded-Proto $scheme;
   proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
   proxy_buffering on;
   proxy_buffer_size 8k;
   proxy_buffers 2048 8k;
   proxy_redirect off;
   proxy_pass http://127.0.0.1:9801;
}

Knowledge

ufw status
netstat -a
netstat -lpn
apt install ufw
apt install nmap
apt install telnet
apt list --installed
netstat -uap|grep nginx
sudo ufw status
sudo ufw app list
sudo ufw allow 'Nginx HTTP'
sudo ss -tulpn     | grep LISTEN
sudo lsof -i -P -n | grep LISTEN

References