daily pastebin goal
8%
SHARE
TWEET

Redirect to https .htaccess nginx

a guest Jun 11th, 2017 2,642 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. server {
  2. listen 80;
  3. server_name yoursite.com www.yoursite.com;
  4. return 301 https://yoursite.com$request_uri;
  5. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top