Good day all
I am using Sphinx to create documentation that I would like to host using GitLab Pages. Building and testing the documentation locally works as expected. I then created a CI job called “pages” which builds the Sphinx html in the pipeline and then copies it to the public artifact. I did this according to 1 and 2.
The pipeline completes successfully including the pages:deploy job and I am able to confirm that the correct files are copied to the public/ artifact. Downloading the public/ artifact and opening my index.html locally gives me the expected result.
It has been more than a day since my pipeline executed correctly but each time I open the link that pages created for my site I get the error “400 Bad Request, The plain HTTP request was sent to HTTPS port, nginx/1.17.10”. According to this it has something to do with SSL during the transaction. I have played around with these settings but with no luck.
Any help would be greatly appreciated.