Show all posts by user
Discussions in Russian
You've been busy with this for 2 weeks...
It's very easy,
1. kill all nginx processes
2. replace binary
3. start nginx
4. post some vague notice about being offline for 10 seconds and apologize
5. move on with life.
by
itpp2012
-
Nginx Mailing List - English
There isn't an answer other than this has not been implemented anywhere yet.
However, you can look into this sample;
https://www.codeproject.com/Articles/11578/Encryption-using-the-Win32-Crypto-API
And then incorporate this with Lua.
ea. https://luajit.org/ext_ffi.html
by
itpp2012
-
How to...
https://serverfault.com/questions/432578/nginx-stop-reload-on-windows-failed-for-access-is-denied
by
itpp2012
-
How to...
rafael.silva Wrote:
-------------------------------------------------------
> proxy_pass http://$upstream_pma:80/;
> proxy_pass http://$upstream_file:80;
Note the difference "/".
by
itpp2012
-
How to...
What about;
location /admin/ {
by
itpp2012
-
How to...
Have a look in the backend logs as 'Connection refused' is a thing from the backend.
by
itpp2012
-
How to...
Swap the Location blocks around.
by
itpp2012
-
How to...
location /monitor/ {
proxy_pass http://ip/monitor/;
Becomes: http://ip/monitor/monitor
by
itpp2012
-
How to...
location /data/ {
root /home/data;
Becomes /home/data/data
by
itpp2012
-
How to...
https://forum.nginx.org/read.php?11,260587,270659#msg-270659
by
itpp2012
-
How to...
https://github.com/vozlt/nginx-module-vts
by
itpp2012
-
How to...
You may have to enable debug logging to see how each location is handled.
And Curl to see via the headers if the server you think is connected is the same.
ea., proxy_pass http://10.3.3.1:9595/; and take 10.3.3.2 offline.
by
itpp2012
-
How to...
Change
location /manage/
in to
location /manage
by
itpp2012
-
How to...
One mans video stream can be another mans data stream, there are streaming features in nginx which can be (re)used for other (large) data streams, changing how you handle them can make it work for you without fiddling with the core workings.
by
itpp2012
-
Nginx Development
Issue a fixed IP address to such device and block that IP address from going out to the internet.
Then use ssh or vpn to access your router and from there on to access the device.
This works for any device.
by
itpp2012
-
Other discussion
Please note that Nginx 1.11.11.1 Lion (nearly 4 years old) is not a nginx product, either compile your own (and spend time to fix bugs) or upgrade to nginx 1.19.3.1 Unicorn.
by
itpp2012
-
Nginx Mailing List - English
Restore from last known good backup or rebuild, it's pointless guessing.
by
itpp2012
-
Other discussion
Can be anything, least likely nginx itself but more a bad configuration or someone had access and simply changed stuff.
by
itpp2012
-
Other discussion
Sounds like a compromised system.
https://debian-handbook.info/browse/stable/sect.dealing-with-compromised-machine.html
by
itpp2012
-
Other discussion
The idea is noble but irl. this is not going to do much / remain unused.
Logging is one thing, being able to react to logging is another, reacting is important when handling attacks of any kind which is often based on logging (regardless if this is internal or external code-wise).
Fully automated attack handling systems need full information, having gdpr logging might be nice but will become
by
itpp2012
-
Nginx Development
There's no point in trying, that module's code is full of errors and too many hacks.
Your better of with Lua which is embedded in our version, see
https://www.gakhov.com/articles/implementing-api-based-fileserver-with-nginx-and-lua.html
by
itpp2012
-
Nginx Mailing List - English
That is what Lua is for, why re-invent the wheel when Lua is almost pure C++
by
itpp2012
-
How to...
Nope, but you can get close enough with (embedded) Lua.
by
itpp2012
-
How to...
I'll deactivate it, it means the same but without removal of posts.
by
itpp2012
-
Other discussion
Such dynamics are better solved with Lua by keeping the actual state in memory pulled from a database.
Drop this into google: "nginx lua dynamic proxy"
by
itpp2012
-
How to...