My Testing Fic

Posted originally on the Ad Astra :: Star Trek Fanfiction Archive at http://www.adastrafanfic.com/works/25.

Rating:

General Audiences

Archive Warning:

No Archive Warnings Apply

Category:

F/M

Fandom:

Star Trek: The Next Generation

Relationship:

Jean-Luc Picard/Beverly Crusher

Character:

Jean-Luc Picard, Beverly Crusher, William Riker

Additional Tags:

First Time, First Kiss

Language:

English

Stats:

Published: 2023-05-24 Words: 130 Chapters: 1/1

My Testing Fic

by walterhpdx

Summary

This is my testing fic summary

Notes

Some notes as well

As rails application server is running behind webserver which is SSL enabled. But the application server is not aware of it and continue with HTTP protocol. Due to which request.base_url gives HTTP URL.

To let the application server know that SSL is enabled and used the https protocol, you need explicitly tell application server.

In the Nginx web server, I have used,

proxy_set_header X-Forwarded-Proto https;

proxy_set_header X-Forwarded-Ssl on;

For Apache web server, need to find similar settings.

I think using config.force_ssl = true can solve a problem but not properly since this config, change all HTTP request into HTTPS. Means if someone requests with HTTP it will redirect to HTTPS. config.force_ssl = true will not work in case of API's were you were sending URLs to the client side.

Please drop by the archive and comment to let the author know if you enjoyed their work!

Table of Contents

Preface

My Testing Fic

Afterword