Skip to content

Commit 2bb86a9

Browse files
committed
added DIY client example to Nginx proxy configs
1 parent 5f1a32c commit 2bb86a9

File tree

3 files changed

+36
-3
lines changed

3 files changed

+36
-3
lines changed

sepia-custom-bundle-folder/nginx/sites-available/sepia-fw-http.conf

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ server {
3838
proxy_read_timeout 14400;
3939
}
4040

41-
# If you're STT server is running on a different machine set the correct URL here or comment out the block:
41+
# If your STT server is running on a different machine set the correct URL here or remove the block
4242
location /sepia/stt/ {
4343
proxy_pass http://localhost:20741/;
4444
}
@@ -50,6 +50,17 @@ server {
5050
proxy_read_timeout 30s;
5151
}
5252

53+
# Add your DIY clients here if you need access via the proxy
54+
# Usage inside Control-HUB: ws://[my-proxy-IP]:20726/sepia/devices/o1/clexi
55+
# NOTE: If your SEPIA-Home server is public please make sure to use a solid CLEXI password!
56+
# location /sepia/devices/o1/ {
57+
# proxy_pass http://[DIY-client-IP]:9090/;
58+
# proxy_http_version 1.1;
59+
# proxy_set_header Upgrade $http_upgrade;
60+
# proxy_set_header Connection $connection_upgrade;
61+
# proxy_read_timeout 14400;
62+
# }
63+
5364
# If you want to access a Mary-TTS compatible API directly you can use this:
5465
# NOTE: Your TTS server will not be secured this way, so use this only in local network!
5566
#

sepia-custom-bundle-folder/nginx/sites-available/sepia-fw-https-self-signed.conf

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ server {
4141
proxy_read_timeout 14400;
4242
}
4343

44-
# If you're STT server is running on a different machine set the correct URL here or comment out the block:
44+
# If your STT server is running on a different machine set the correct URL here or remove the block
4545
location /sepia/stt/ {
4646
proxy_pass http://localhost:20741/;
4747
}
@@ -53,6 +53,16 @@ server {
5353
proxy_read_timeout 30s;
5454
}
5555

56+
# Add your DIY clients here if you need SSL
57+
# Usage inside Control-HUB: wss://[my-hostname-or-ip].local:20726/sepia/devices/o1/clexi
58+
# location /sepia/devices/o1/ {
59+
# proxy_pass http://[DIY-client-IP]:9090/;
60+
# proxy_http_version 1.1;
61+
# proxy_set_header Upgrade $http_upgrade;
62+
# proxy_set_header Connection $connection_upgrade;
63+
# proxy_read_timeout 14400;
64+
# }
65+
5666
# If you want to access a Mary-TTS compatible API directly you can use this:
5767
# NOTE: Your TTS server will not be secured this way, so use this only in local network!
5868
#

sepia-custom-bundle-folder/nginx/sites-available/sepia-fw-https.conf

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ server {
3939
proxy_read_timeout 14400;
4040
}
4141

42-
# If you're STT server is running on a different machine set the correct URL here or comment out the block:
42+
# If your STT server is running on a different machine set the correct URL here or remove the block
43+
# NOTE: If your SEPIA-Home server is public please make sure to use a solid STT-Server password!
4344
location /sepia/stt/ {
4445
proxy_pass http://localhost:20741/;
4546
}
@@ -51,6 +52,17 @@ server {
5152
proxy_read_timeout 30s;
5253
}
5354

55+
# Add your DIY clients here if you need SSL
56+
# Usage inside Control-HUB: wss://[my-example-com].local:20726/sepia/devices/o1/clexi
57+
# NOTE: If your SEPIA-Home server is public please make sure to use a solid CLEXI password!
58+
# location /sepia/devices/o1/ {
59+
# proxy_pass http://[DIY-client-IP]:9090/;
60+
# proxy_http_version 1.1;
61+
# proxy_set_header Upgrade $http_upgrade;
62+
# proxy_set_header Connection $connection_upgrade;
63+
# proxy_read_timeout 14400;
64+
# }
65+
5466
# If you want to access a Mary-TTS compatible API directly you can use this:
5567
# NOTE: Your TTS server will not be secured this way, so use this only in local network!
5668
#

0 commit comments

Comments
 (0)