issues Search Results · repo:peakwinter/python-nginx language:Python
Filter by
27 results
(52 ms)27 results
inpeakwinter/python-nginx (press backspace or delete to remove)I ve observed that the code uses data[index:] for regular expression matching on each occasion. When dealing with a very
large Nginx configuration file, for instance, one with tens of thousands of lines, ...
MonkeyDLufy
- Opened on Jul 23, 2024
- #51
Hello!
Noticed strange delays, or even and seemingly endless loop while parsing a bunch of config files. Was able to determine
that
https://github.com/peakwinter/python-nginx/blob/20a848405e18d62309418399bcc6d1aebcb81156/nginx.py#L540-L554 ...
Shagrat
- 1
- Opened on Jul 6, 2021
- #46
autoprov.py ############# import nginx c = nginx.loadf(confLocation)
Installed using pyinstaller
pyinstaller --onefile ../src/autoprov/autoprov.py
2556 INFO: Analyzing XXX/pybuild/autoprov.py 2574 INFO: ...
arymangupta
- 2
- Opened on Jun 1, 2021
- #45
Hi Thank you for working on this useful library A question: This line is last line of my existing nginx.conf, which
adds 2 more configs for specific parameters. It is possible to parse line like this: ...
rahimian-vahid
- Opened on Mar 29, 2021
- #43
This file could not be parsed:
user nginx;
http {
server {
listen 80;
location ~* ^/portal {
proxy_set_header Connection ;
rewrite ^/portal(.*) $1 break; ...
AlexNik
- 1
- Opened on Mar 15, 2021
- #42
Hello!
I m using 1.5.5 It failed when parsing this file
user nginx;
Here is the error: nginx.ParseError: Config syntax, missing ; at index: 12
But works fine when there is a new line at the end:
...
AlexNik
- 2
- Opened on Mar 12, 2021
- #41
How to reproduce:
1. Create nginx.conf with
server {
listen 80;
server_name test.example.com;
location ~ ^/(test|[0-9a-zA-Z]{6})$ {
if ($query_string ~ pid=(111)) {
...
rebrendov
- 1
- Opened on Mar 5, 2021
- #40
version 1.5.4 When using function as_strings , error show as this:
lib/python2.7/site-packages/nginx.py , line 402, in as_strings if not in self.value and ( ; in self.value or # in
self.value): TypeError: ...
quanghuy1288
- 2
- Opened on Oct 7, 2020
- #38
when i use nginx.loadf( xxxxx ).as_dict
- this is my nginx.conf
server{
listen 80;
#OPEN-PORT-443
listen 443 ssl;
server_name www.xxx.com;
root /wwww/wwww;
location ~ .*\.(js|css)?$ ...
zyyoo
- 3
- Opened on Aug 21, 2020
- #35
Thanks for this tool, it s great! Just one question, is there any chance of an example of how to load a file and edit a
key:value pair in the configuration?
danielloader
- 6
- Opened on Apr 14, 2019
- #34

Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Press the /
key to activate the search input again and adjust your query.
Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Restrict your search to the title by using the in:title qualifier.