1. Move Nextcloud to 192.168.1.24.
2. Chnage IP of storj to 192.168.1.19, WIFI of RP3. 3. Add collobora
This commit is contained in:
57
data/user_conf.d/collabora.conf
Normal file
57
data/user_conf.d/collabora.conf
Normal file
@@ -0,0 +1,57 @@
|
||||
server {
|
||||
listen 443 ssl http2;
|
||||
server_name collabora.awin.one;
|
||||
|
||||
# Load the certificate files.
|
||||
ssl_certificate /etc/letsencrypt/live/collabora.awin.one/fullchain.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/live/collabora.awin.one/privkey.pem;
|
||||
ssl_trusted_certificate /etc/letsencrypt/live/collabora.awin.one/chain.pem;
|
||||
|
||||
# static files
|
||||
location ^~ /browser {
|
||||
proxy_pass http://192.168.1.24:8081;
|
||||
proxy_set_header Host $http_host;
|
||||
}
|
||||
|
||||
|
||||
# WOPI discovery URL
|
||||
location ^~ /hosting/discovery {
|
||||
proxy_pass http://192.168.1.24:8081;
|
||||
proxy_set_header Host $http_host;
|
||||
}
|
||||
|
||||
|
||||
# Capabilities
|
||||
location ^~ /hosting/capabilities {
|
||||
proxy_pass http://192.168.1.24:8081;
|
||||
proxy_set_header Host $http_host;
|
||||
}
|
||||
|
||||
|
||||
# main websocket
|
||||
location ~ ^/cool/(.*)/ws$ {
|
||||
proxy_pass http://192.168.1.24:8081;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "Upgrade";
|
||||
proxy_set_header Host $http_host;
|
||||
proxy_read_timeout 36000s;
|
||||
}
|
||||
|
||||
|
||||
# download, presentation and image upload
|
||||
location ~ ^/(c|l)ool {
|
||||
proxy_pass http://192.168.1.24:8081;
|
||||
proxy_set_header Host $http_host;
|
||||
}
|
||||
|
||||
|
||||
# Admin Console websocket
|
||||
location ^~ /cool/adminws {
|
||||
proxy_pass http://192.168.1.24:8081;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "Upgrade";
|
||||
proxy_set_header Host $http_host;
|
||||
proxy_read_timeout 36000s;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user