mirror of
https://github.com/Balshgit/gpt_chat_bot.git
synced 2025-12-16 21:20:39 +03:00
microservices are able to run (#5)
This commit is contained in:
18
deploy/Caddyfile
Normal file
18
deploy/Caddyfile
Normal file
@@ -0,0 +1,18 @@
|
||||
# Telegram bot. Redirects to bot-service
|
||||
:8083 {
|
||||
reverse_proxy bot_service:8080
|
||||
header Strict-Transport-Security max-age=31536000;
|
||||
|
||||
# Removing some headers for improved security:
|
||||
header -Server
|
||||
}
|
||||
|
||||
# Telegram bot. Redirects to test-server ip
|
||||
:8084 {
|
||||
reverse_proxy chat_service:1338
|
||||
header Strict-Transport-Security max-age=31536000;
|
||||
|
||||
# Removing some headers for improved security:
|
||||
header -Server
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user