को छोड़कर, http से https तक सब कुछ रीडायरेक्ट करें, मेरे पास एक वेबसाइट है जो केवल एक यूआरएल-पैटर्न को छोड़कर HTTPS पर पहुंच योग्य होनी चाहिए (क्योंकि मेरे पास कुछ पेज http-iframe हैं और मैं सुरक्षा से बचना चाहता हूं चेतावनी)nginx: एक यूआरएल-पैटर्न
E.g. this pages should be redirected to https:
http://example.com
http://example.com/a/this-is-an-article
http://example.com/v/this-is-a-video
This pages should not be redirected to https (or should be redirected form https to http)
http://example.com/l/page-with-unsafe-iframe
http://example.com/l/other-page-with-unsafe-iframe
क्या http iframe पृष्ठ हमेशा एक ही निर्देशिका/l/में हैं? –
हाँ यह हमेशा/l/निर्देशिका – tiefenb