mirror of
https://github.com/tufanbarisyildirim/gonginx.git
synced 2026-04-27 00:35:51 +03:00
[GH-ISSUE #30] got "unexpected token" with the follow nginx config file at line 45 ("text/css") #15
Labels
No labels
bug
enhancement
good first issue
pull-request
question
v2
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/gonginx#15
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @CaryChy on GitHub (Nov 15, 2023).
Original GitHub issue: https://github.com/tufanbarisyildirim/gonginx/issues/30
@CaryChy commented on GitHub (Nov 15, 2023):
seems this issue was caused by line 43 ("gzip_types") ends without ";"
@tufanbarisyildirim commented on GitHub (Feb 20, 2026):
Thanks for reporting this. I re-checked this against current
mainand could not reproduce the parser error anymore.I used the config from this issue and parsed it with
parser.NewStringParser(...).Parse(); it succeeds on current code.Given that current behavior is correct, I’m closing this as resolved. If you can still reproduce with the latest version, please reopen with a minimal config snippet and exact error output.