-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prerender query params preserve (#1)
Preserve query params in prerender proxy pass.
- Loading branch information
1 parent
75b75da
commit b32cbac
Showing
4 changed files
with
39 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
**PERMANENTLY MOVED TO** https://github.com/spacetab-io/static-server-php | ||
|
||
|
||
Static server | ||
------------- | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,14 +18,16 @@ defaults: | |
options: | ||
pid: ~/.server/spa_nginx.pid | ||
config: ~/.server/generated_nginx.conf | ||
prerender: | ||
prerender: # https://github.com/spacetab-io/prerender-go | ||
enabled: false | ||
cacheTtl: 24h # by default cache lives 24 hours | ||
cdnUrl: null | ||
cdnPath: / # CDN folder relative to root path (/) | ||
cacheTtl: 1h # by default cache lives 1 hour | ||
queryParams: [] # params that will be passed to CDN to find files. Params are sorted alphabetically. | ||
cdnUrl: null # CDN url | ||
cdnPath: / # CDN folder relative to root path with trailing slash (/) | ||
url: null # Proxy pass URL for bots, with schema. | ||
resolver: "8.8.8.8 8.8.4.4 1.1.1.1 1.0.0.1" # nginx "resolver" option to force DNS resolution and prevent caching of IPs | ||
headers: [] # Authorization headers (or others), format: key - $headerName, value - $headerValue | ||
log_info: "%%cSTAGE=%s SHA1=%s; %%cSecurity bugs: [email protected], Job/partnership: [email protected]" | ||
logger: | ||
enabled: true | ||
level: info # debug, info, notice, warning, critical, emergency | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters