I am rebuilding (manually) an omv 1.x host in omv 3.x
on the 1.x host I had nginx installed to proxy requests to different services.
the config (in 1.x) looks like this:
Code
server {
listen [::]:443 ssl;
server_name sub.domain.com;
index index.html;
access_log /var/log/nginx/6a9d3536-4ab8-4a3b-aed8-4387787873a9-access.log;
error_log /var/log/nginx/6a9d3536-4ab8-4a3b-aed8-4387787873a9-error.log;
large_client_header_buffers 4 8k;
location / {
proxy_pass http://localhost:8083;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
client_max_body_size 200M;
}
}
Alles anzeigen
the similar config in omv 3.x here doesn't work, as nginx doesn't come up with "address already in use". I wonder why?
Code
server {
listen 443 ssl;
listen [::]:443 ssl;
server_name sub.domain.com;
index index.html;
access_log /var/log/nginx/521a0317-12ef-40dd-8c9a-f707c82f96af-access.log;
error_log /var/log/nginx/521a0317-12ef-40dd-8c9a-f707c82f96af-error.log;
large_client_header_buffers 4 8k;
location / {
proxy_pass http://localhost:9000;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
}
}
Alles anzeigen