Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Shell/Bash
digitalocean redirect http to https nginx
Carlos2W
Programming language:
Shell/Bash
2021-04-14 06:43:07
2
Q:
digitalocean redirect http to https nginx
Rs3
Code:
Shell/Bash
2021-09-06 01:43:41
server { listen 80 default_server; server_name _; return 301 https://$host$request_uri; }
0
Tags
http
New to Communities?
Join the community