-
Notifications
You must be signed in to change notification settings - Fork 27.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using nginx SSI-directives in <head> of page #8478
Comments
You should create a Custom |
I've created custom document, but it's impossible to insert SSI directive using React JSX syntax |
What about doing it for
|
Related issue #3904, need to try described in that comment: #3904 (comment) |
This issue has been automatically locked due to no recent activity. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you. |
Hi! We are widely using nginx SSI-directives to include some common content of page head, for example some meta tags and scripts.
Typical SSI-directive looks like this in page markup:
<!--# include virtual="/ssi/directive.html"-->
I'm trying to find a possibility to include it in page head but seems like it's impossible right now.
I was able to include SSI-directive in page body using additional div
<div dangerouslySetInnerHTML={{ __html: "<!--# include virtual=\"/ssi/directive.html\"-->" }} />
but I can't use it in page head this way
The text was updated successfully, but these errors were encountered: