fix: Make nepse app public

This commit is contained in:
SauravDhakal
2026-09-06 19:33:53 +05:45
parent 400d6631c7
commit 1abd9814e3

View File

@@ -160,13 +160,35 @@ api.nepse.sauravdhakal.com.np {
# NEPSE APP (Staging - VPN Only) # NEPSE APP (Staging - VPN Only)
# ----------------------------------------------- # -----------------------------------------------
staging-nepse.sauravdhakal.com.np { staging-nepse.sauravdhakal.com.np {
bind 100.81.85.182 # bind 100.81.85.182
reverse_proxy localhost:4100 # reverse_proxy localhost:4100
header {
X-Content-Type-Options nosniff
X-Frame-Options DENY
Referrer-Policy strict-origin-when-cross-origin
}
reverse_proxy localhost:4100 {
header_up X-Real-IP {remote_host}
header_up X-Forwarded-For {remote_host}
}
} }
api.staging-nepse.sauravdhakal.com.np { api.staging-nepse.sauravdhakal.com.np {
bind 100.81.85.182 # bind 100.81.85.182
reverse_proxy localhost:4101 # reverse_proxy localhost:4101
header {
X-Content-Type-Options nosniff
X-Frame-Options DENY
Referrer-Policy strict-origin-when-cross-origin
}
reverse_proxy localhost:4101 {
header_up X-Real-IP {remote_host}
header_up X-Forwarded-For {remote_host}
}
} }