Skip to content

Commit 59e8e40

Browse files
committed
Update nginx configuration
1 parent 421db56 commit 59e8e40

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

docs/nginx/default_reverse_proxy

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
server_tokens off;
22

33
server {
4-
listen 80;
54
server_name phpcurlclass.com;
6-
return 301 http://www.phpcurlclass.com$request_uri;
5+
return 301 $scheme://www.phpcurlclass.com$request_uri;
76
}
87

98
server {

0 commit comments

Comments
 (0)