Skip to content

Files

Latest commit

author
Gusti Zainokta Ginanto Bukian
May 2, 2021
e183452 · May 2, 2021

History

History
17 lines (14 loc) · 508 Bytes

README.md

File metadata and controls

17 lines (14 loc) · 508 Bytes

Zenginx

This is a generator to generate simple NGINX configuration file. Edit the generated file as you need on /etc/nginx/sites-available and don't forget to reload the NGINX service by using sudo service nginx reload or sudo systemctl reload nginx after you finished editing the generated file.

How To Run

sudo ./generate.sh

Connection upgrade issue

add these line on your nginx.conf file

map $http_upgrade $connection_upgrade {
    default upgrade;
    '' close;
}