SHARE
TWEET

Untitled

a guest Jan 16th, 2020 73 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Serve local servers on http-requests expect redirect / requests to https
  2. server {
  3.         listen 80 default_server;
  4.         server_name .site.my;
  5.         location = / { return 301 https://$host; }
  6.         location / { root /www; }
  7. }
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