Last active
September 30, 2017 16:46
-
-
Save DreamerKlim/1b844d97b5815e9aa52e05aaf680554c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Установим nginx | |
sudo apt install nginx | |
// Старт и автозапуск nginx | |
sudo systemctl start nginx | |
sudo systemctl enable nginx | |
// Создаем файл конфигураций | |
sudo nano /etc/nginx/conf.d/rslsync.conf | |
--------------------- | |
server { | |
listen 80; | |
server_name ВАШ.ДОМЕН.РУ; | |
access_log /var/log/nginx/ВАШ.ДОМЕН.РУ.log; | |
location / { | |
proxy_pass http://127.0.0.1:8888; | |
} | |
} | |
---------------------- | |
// Перезагрузка nginx | |
sudo systemctl reload nginx |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment