I am using nginx and would like all http traffic to become https using nginx. can someone post an example for nginx config file?

Here is mine. it's not working and i don't have a lot of nginx exprience: https://github.com/oren/wiki/blob/master/dokuwiki.conf


marked as duplicate by Sven Apr 25 '15 at 10:22

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Browse other questions tagged or ask your own question.