Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
denis-yuen committed Apr 30, 2020
1 parent 7ef06c7 commit 3e427ee
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions templates/default.nginx_http.conf.template
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,12 @@ server {

# used to redirect swagger.json as retrieved by swagger ui without changes
location = /swagger.json {
#proxy_pass http://webservice:8080/swagger.json;
rewrite ^/(.*)$ http{{#HTTPS}}s{{/HTTPS}}://{{ DOMAIN_NAME}}/api/swagger.json permanent;
}

# used when port 8443 was unreachable from google
location = /sitemap.txt {
proxy_pass http://$webservice:8080/metadata/sitemap;
proxy_pass http://$webservice:8080/metadata/sitemap;
}

location = /rss.xml {
Expand Down

0 comments on commit 3e427ee

Please sign in to comment.