transition to container_ over podman_
This commit is contained in:
@@ -24,7 +24,12 @@ stream {
|
||||
listen 2222;
|
||||
listen [::]:2222;
|
||||
proxy_pass gitea.reeselink.com:2222;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 8080;
|
||||
listen [::]:8080;
|
||||
proxy_pass unifi-external.reeselink.com:2222;
|
||||
}
|
||||
|
||||
server {
|
||||
|
||||
@@ -1,13 +1,9 @@
|
||||
# Ngnix
|
||||
|
||||
## TCP Stream Proxy
|
||||
## Initial Install
|
||||
|
||||
```bash
|
||||
# Get the initial configuration
|
||||
scp active/podman_nginx/nginx.conf proxy:/etc/nginx/nginx.conf
|
||||
```
|
||||
|
||||
```bash
|
||||
vim /etc/containers/systemd/nginx.container
|
||||
```
|
||||
|
||||
@@ -30,7 +26,11 @@ Restart=always
|
||||
WantedBy=default.target
|
||||
```
|
||||
|
||||
## Update the Configuration
|
||||
|
||||
```bash
|
||||
scp active/container_nginx/nginx.conf proxy:/etc/nginx/nginx.conf
|
||||
ssh proxy
|
||||
systemctl daemon-reload
|
||||
systemctl start nginx
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user