frkn-dev / FRKN

FRKN: freedom of speech and information
https://frkn.org/
GNU General Public License v3.0
656 stars 64 forks source link

nginx create #71

Closed KnyazkovE closed 2 years ago

KnyazkovE commented 2 years ago

скрипт + конфиг

er2805620 commented 2 years ago

sudo cp ./web-server.conf /etc/nginx/conf.d/

conf.d/ not good place https://docs.nginx.com/nginx/admin-guide/basic-functionality/managing-configuration-files/

set of feature‑specific files stored in the /etc/nginx/conf.d directory and use the include directive in the main nginx.conf file to reference the contents of the feature‑specific files.

So if it ubuntu|debian

sudo cp ./web-server.conf /etc/nginx/sites-available/
sudo ln -s /etc/nginx/sites-available/web-server.conf /etc/nginx/sites-enabled/
the2pizza commented 2 years ago

done - https://github.com/nezavisimost/FuckRKN1/pull/83