Help Needed: Trouble Accessing Postiz via HTTPS on Synology DS220+ #1019
Replies: 1 comment
-
|
You can copy &paste to your ai agent. 七、外網存取(Tailscale Funnel) 如果你需要串接 Facebook/Instagram,Meta OAuth 強制要求 HTTPS 公網網域。 為什麼選 Tailscale Funnel?
設定步驟1. 在 NAS 安裝 Tailscale(如果還沒有) 透過 Synology 套件中心或 SSH 安裝。 2. 啟用 Funnel
3. 在 NAS 上啟動 Funnel sudo tailscale funnel --bg 5123輸出會顯示你的公網 URL: 4. 更新 Postiz 環境變數 修改 docker-compose.yml 中的 URL 為你的 Tailscale 域名: MAIN_URL: "https://你的機器名.tail*****.ts.net"
FRONTEND_URL: "https://你的機器名.tail*****.ts.net"
NEXT_PUBLIC_BACKEND_URL: "https://你的機器名.tail*****.ts.net/api"
5. 重啟 cd /volume1/docker/postiz
sudo docker compose down && sudo docker compose up -d6. 驗證 開瀏覽器前往 八、踩坑避坑總整理坑 1:登入按鈕無反應(原地不動)症狀: 點 Sign In 沒有任何錯誤,頁面完全不動。 原因: Postiz 預設使用 解法: 環境變數加上 重要補充: 即使後來掛上 HTTPS(如 Tailscale Funnel), 坑 2:CORS 跨域錯誤症狀: Console 顯示 原因: 前端(port 4200)和後端(port 3000)不同 port = 不同 origin。 解法: 用 nginx 反向代理統一到一個 port(如 5123),前後端走同一個 origin。 錯誤做法: 直接暴露 3000 + 4200 兩個 port 讓瀏覽器分別存取。 坑 3:
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I'm fairly new to this space and recently tried setting up Postiz on my Synology DS220+ using Portainer. The initial setup went smoothly, and the service is running fine when accessed via a local .lan domain.
However, I'm facing a big issue: I can’t access Postiz using my public domain https://postiz.my-server.synology.me, which makes integrating it with platforms like YouTube impossible.
What's strange is that I’ve deployed other containers like n8n the same way, and they work perfectly through the same domain setup. So I’m stuck here and not sure what I’m missing.
Has anyone dealt with a similar problem or maybe has an idea on what could be going wrong? I’d really appreciate any tips, suggestions, or shared experiences.
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions