fix: Make nepse app public
This commit is contained in:
@@ -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}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user