Possible to make subdomain only accessible through 'embed'

Jore community at thoughtmaybe.com
Fri Mar 12 20:56:35 UTC 2021


Hi there,

I have pages served from "embed.domain.com" that I'd only like to be 
accessible when they're embedded in files served from "docs.domain.com"

Visualisation below:

Is it possible to lock down "embed.domain.com" so it can only be 
accessed through "docs.domain.com"?

Can this be done with nginx conf or another method?

Thank you!
Jore



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20210313/92e2d0ba/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ghhdhhpkijhodmio.png
Type: image/png
Size: 9611 bytes
Desc: not available
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20210313/92e2d0ba/attachment.png>


More information about the nginx mailing list