-
Notifications
You must be signed in to change notification settings - Fork 47
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
Automate best practices for production #114
Comments
I've come across a couple examples on the webs:
Haven't looked at them in detail yet, so I can't vouch for them, but we should link to them on an Implementations wiki page (and link to that from the readme). |
One thing that came up in practice was difficulty meeting the "inner = outer" requirement for URLs with pct-encoded chars (such as
This was fixed in amppkg in #313, but the bug may still occur in the various reverse proxies used in front. For instance, I believe https://github.com/Warashi/try-amppackager/blob/895df747aa0948641e7ce979fed88dbf1906cbd6/reverse/proxy.conf#L39 will result in inner URLs that are doubly encoded. OTOH, using The only mechanism I found that worked with nginx is:
|
Filed Warashi/try-amppackager#3 in the meantime. |
This should also include an auto-updating facility (optional, but enabled by default), to allow the deployed amppackager to remain current with AMP Caches' Additionally, when grabbing the latest release from the GitHub @banaag Feel free to split both of these things off as separate bugs if you prefer. |
This could be a collection of scripts, or packages of various formats (Docker, Flatpak,
.deb
, etc.). Broad coverage of most of the production environments probably necessitates multiple formats, though we should prefer a solution that covers as many as possible in as few variants as possible. This will reduce the cost of maintenance and the chance of error in one or more of them. Googlers, see go/amp-packager-deployment-requirements for more info.The text was updated successfully, but these errors were encountered: