###前提・実現したいこと
sonatype nexusをnginxでリバースプロキシしたいです。
nexusはjetty上で動作させています
それをnginxでリパースプロキシを行いたいです。
現在のnginxのconf
config
1 location / { 2 proxy_pass http://localhost:8081/nexus; 3 proxy_set_header Host $host; 4 proxy_set_header X-Real-IP $remote_addr; 5 proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; 6 } 7
###発生している問題・エラーメッセージ
http://HOST/にアクセスするとなぜか自動でリダイレクトされてしまい
エラー次のように出ます
HTTP ERROR: 404
Problem accessing /nexusnexus/. Reason:
Not Found
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。