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.mydomain.com/something/thisthing を別の構成ファイル、別のアプリケーションで完全にカバーしたいと考えています。
これはnginxで可能ですか?
特定のロケーション ブロックに別の構成ファイルを使用したいようですね。それでよろしいですか? その場合は、nginx ディレクティブ include を使用して、外部の構成ファイルを含めることができます。例えば:
場所 /thisthing { 外部ファイルを含める; }
その場所のブロックに入ると、適切と思われる方法でそのトラフィックを処理できます。