Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私のアプリがドメインで提供されているとしましょうwww.example.com。
www.example.com
request.route_urlのような関数が自動的にそれを選択して正しいURLを生成するように、ピラミッド構成ファイルでこれをどのように(どこで?)指定する必要がありますか?
request.route_url
(私[server:main]はこれのための場所ではないと思います)
[server:main]
はい、適切なリバース プロキシは、適切なヘッダーに沿って wsgi サーバーに転送します。nginx のレシピについては、ピラミッド クックブックを参照してください。