Change position of return variables
Showing
1 changed file
with
4 additions
and
4 deletions
| ... | @@ -37,6 +37,10 @@ | ... | @@ -37,6 +37,10 @@ |
| 37 | set_header: | 37 | set_header: |
| 38 | field: Host | 38 | field: Host |
| 39 | value: $host | 39 | value: $host |
| 40 | rewrite: | ||
| 41 | return: | ||
| 42 | code: 301 | ||
| 43 | url: https://$host$request_uri | ||
| 40 | - core: | 44 | - core: |
| 41 | listen: | 45 | listen: |
| 42 | - port: 443 | 46 | - port: 443 |
| ... | @@ -56,10 +60,6 @@ | ... | @@ -56,10 +60,6 @@ |
| 56 | set_header: | 60 | set_header: |
| 57 | field: Host | 61 | field: Host |
| 58 | value: $host | 62 | value: $host |
| 59 | rewrite: | ||
| 60 | return: | ||
| 61 | code: 301 | ||
| 62 | url: https://$host$request_uri | ||
| 63 | # custom_directives: | 63 | # custom_directives: |
| 64 | 64 | ||
| 65 | # - core: | 65 | # - core: | ... | ... |
-
Please register or sign in to post a comment