Remove temporary NGNIX info
This commit is contained in:
parent
0e03a39987
commit
db69a0293f
1 changed files with 1 additions and 39 deletions
|
@ -109,41 +109,3 @@ Last but not least, we advise you to **double-check all information** displayed
|
||||||
_Welcome to the relayer team! Thanks to you, privacy can be better respected_ 💚
|
_Welcome to the relayer team! Thanks to you, privacy can be better respected_ 💚
|
||||||
|
|
||||||
_Written by_ [_**@bt11ba**_](https://torn.community/u/bt11ba/) _&_ [_**@ayefda**_](https://torn.community/u/ayefda)
|
_Written by_ [_**@bt11ba**_](https://torn.community/u/bt11ba/) _&_ [_**@ayefda**_](https://torn.community/u/ayefda)
|
||||||
|
|
||||||
### 7. Setting up reverse proxy with NGNIX
|
|
||||||
|
|
||||||
``sudo apt-get update``
|
|
||||||
|
|
||||||
``sudo apt-get install nginx``
|
|
||||||
|
|
||||||
``sudo unlink /etc/nginx/sites-enabled/default``
|
|
||||||
|
|
||||||
Create reverse-proxy.conf file
|
|
||||||
|
|
||||||
Cd into directory
|
|
||||||
|
|
||||||
``cd etc/nginx/sites-available/``
|
|
||||||
|
|
||||||
Nano to create and edit the file.
|
|
||||||
|
|
||||||
``nano reverse-proxy.conf``
|
|
||||||
|
|
||||||
Content of the file.
|
|
||||||
|
|
||||||
``server {
|
|
||||||
listen 80;
|
|
||||||
location / {
|
|
||||||
proxy_pass http://192.x.x.2;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
``
|
|
||||||
|
|
||||||
Link to "sites-enabled"
|
|
||||||
|
|
||||||
``sudo ln -s /etc/nginx/sites-available/reverse-proxy.conf /etc/nginx/sites-enabled/reverse-proxy.conf``
|
|
||||||
|
|
||||||
Start NGNIX
|
|
||||||
|
|
||||||
``sudo service nginx start``
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue