Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to change protocol to https on wagtail sitemaps?

I have a django sitemap and wagtail sitemap for my site.

The django sitemap is using https by simply setting the protocol variable in the class, but I can't figure out a way to do this for the wagtail sitemap without overriding many internal methods.

Is there a simple way to use https for my wagtail sitemaps?

like image 407
Zach B. Avatar asked May 22 '18 15:05

Zach B.


1 Answers

In the Wagtail admin, under Settings -> Sites, change the port number of your site to 443.

like image 147
gasman Avatar answered Oct 15 '22 11:10

gasman