Nginx Forum - New Member Introductions Introduce yourselves http://www.ldmicj.icu/list.php?5 Thu, 12 Nov 2020 21:11:50 -0500 Phorum 5.2.16 http://www.ldmicj.icu/read.php?5,289747,289747#msg-289747 Hi Beautiful People. (no replies) http://www.ldmicj.icu/read.php?5,289747,289747#msg-289747 annahernandez99 New Member Introductions Sat, 17 Oct 2020 03:56:25 -0400 http://www.ldmicj.icu/read.php?5,289484,289484#msg-289484 Greetings Globe (no replies) http://www.ldmicj.icu/read.php?5,289484,289484#msg-289484
How do you feel about community here: I worry that F5 would have an interest at keeping people in the dark so that they sign up for commercial options with support. I hope that's not the case. Nginx seems more straight forward than HaProxy, and more robust than pound, so I'm sticking with it for now.

Wishes of peace and health to all of you, from Oregon.]]>
globaltree New Member Introductions Wed, 23 Sep 2020 19:39:42 -0400
http://www.ldmicj.icu/read.php?5,289347,289347#msg-289347 Howdy! (no replies) http://www.ldmicj.icu/read.php?5,289347,289347#msg-289347 figshta New Member Introductions Wed, 09 Sep 2020 00:25:37 -0400 http://www.ldmicj.icu/read.php?5,289333,289333#msg-289333 Hello from LQ (no replies) http://www.ldmicj.icu/read.php?5,289333,289333#msg-289333 liuqiao New Member Introductions Mon, 07 Sep 2020 04:36:46 -0400 http://www.ldmicj.icu/read.php?5,289326,289326#msg-289326 Hello from Sandhya (no replies) http://www.ldmicj.icu/read.php?5,289326,289326#msg-289326
I hope I enjoy learning Nginx joining this team.]]>
sandhya New Member Introductions Sat, 05 Sep 2020 11:08:33 -0400
http://www.ldmicj.icu/read.php?5,289190,289190#msg-289190 Hello from Buffalo NY (no replies) http://www.ldmicj.icu/read.php?5,289190,289190#msg-289190 My name is David Bonilla and I have been a server and pc repair guy for over 18 years. Loving Nginx and looking for some great info from you guys here. I am having troubles Nginx HLS and SSL hope you guys got answers. Well Hello again from Buffalo NY.]]> dbonilla New Member Introductions Tue, 25 Aug 2020 16:51:04 -0400 http://www.ldmicj.icu/read.php?5,289166,289166#msg-289166 Karel (no replies) http://www.ldmicj.icu/read.php?5,289166,289166#msg-289166
My name is Karel and I come from Europe, however I'd like to consider myself as a citizen of the world.

I'm a completely self taught wanna-be linux admin and have been messing about with servers/networks on a hobbyist level for quite some time.
On a professional level I've been working for a large MSP as a backup/storage administrator for over a year now; prior to that I was a DC ops guy.

I'm here as I've been learning NGINX for the last couple of days and this seems like a good place to get help.
Nice meeting you everybody.]]>
karlito96 New Member Introductions Sat, 22 Aug 2020 14:28:51 -0400
http://www.ldmicj.icu/read.php?5,289163,289163#msg-289163 NGINX using server_name twice for all requests, resuling in 404 (1 reply) http://www.ldmicj.icu/read.php?5,289163,289163#msg-289163
Completely new to both web servers and nginx in particular.
I've been trying to host my static web page that I've built with hugo. I've tested it locally using hugo server and all the contents are loading properly.

When I upload my site to /var/www/mysite/ and try to serve it with nginx, only the initial index.html within my site dir is loaded. Each other request is 404_not found.
Reason being is each other resource besides the main index.html is being referred to by nginx as /server_name/server_name/...

Example I have an 'About' tab, that should be served from http://anna.home/about however nginx is redirecting to http://anna.home/anna.home/about which doesn't exist hence the 404.

I'm pretty sure it's a simple fix for somebody who's touched nginx before but I've been pulling my hair due to this one for a good few hours..


*/var/www/anna.home*

-rwxr-xr-x 1 opasen users 7016 Aug 22 18:25 404.html
drwxr-xr-x 3 opasen users 4096 Aug 22 18:25 about
drwxr-xr-x 2 opasen users 4096 Aug 22 18:25 categories
drwxr-xr-x 2 opasen users 4096 Aug 22 18:25 contact
drwxr-xr-x 4 opasen users 4096 Aug 22 18:25 dist
drwxr-xr-x 2 opasen users 4096 Aug 22 18:25 images
-rwxr-xr-x 1 opasen users 12014 Aug 22 18:25 index.html
-rwxr-xr-x 1 opasen users 5548 Aug 22 18:25 index.xml
drwxr-xr-x 9 opasen users 4096 Aug 22 18:25 post
-rwxr-xr-x 1 opasen users 111 Aug 22 18:25 robots.txt
-rwxr-xr-x 1 opasen users 2256 Aug 22 18:25 sitemap.xml
drwxr-xr-x 3 opasen users 4096 Aug 22 18:25 tags


*/var/www/anna.home/about*

-rwxr-xr-x 1 opasen users 9023 Aug 22 18:25 index.html
-rwxr-xr-x 1 opasen users 485 Aug 22 18:25 index.xml
drwxr-xr-x 3 opasen users 4096 Aug 22 18:25 page


*NGINX version && nginx.conf*

nginx version: nginx/1.18.0


worker_processes 2;

events {
worker_connections 1024;
}

http {
include mime.types;
default_type application/octet-stream;
sendfile on;
keepalive_timeout 65;

server {
server_tokens off;
listen anna.home:80;
server_name anna.home;
root /var/www/anna.home;

location / {
}

location /images {
}

location /about {
}

location /articles {
}

location /contact {
}

error_page 500 502 503 504 /50x.html;

location = /50x.html {
root html;
}
}
}


Any help will be much appreciated. Do let me know if I've not provided important/crucial info.

Thanks,
me


PS: Does anybody know if [b]bulletin[/b] [i]baord[/i] [code]code[/code] works here, and if not how do you guys achieve formatting?]]>
karlito96 New Member Introductions Sat, 22 Aug 2020 14:22:29 -0400
http://www.ldmicj.icu/read.php?5,288948,288948#msg-288948 Removing limit_conn_zone limit_conn addr? (no replies) http://www.ldmicj.icu/read.php?5,288948,288948#msg-288948
limit_conn_zone $binary_remote_addr zone=addr:10m;
limit_conn addr 10;

The nginx webserver hosts a modsecurity plugin and sits behind Cloudfront and AWS shield and a load balancer with additional custom defined intrusion detection. So we are taking care of DOS, BOT attack and rate related type of attacks.

We see these limiting settings now as redundant. Anyone see any reason not to remove these settings?]]>
erniejw New Member Introductions Sun, 02 Aug 2020 23:26:01 -0400
http://www.ldmicj.icu/read.php?5,288947,288947#msg-288947 Hello (no replies) http://www.ldmicj.icu/read.php?5,288947,288947#msg-288947 erniejw New Member Introductions Sun, 02 Aug 2020 21:36:33 -0400 http://www.ldmicj.icu/read.php?5,288819,288819#msg-288819 HTTP 504 Error (no replies) http://www.ldmicj.icu/read.php?5,288819,288819#msg-288819 gadithyavr New Member Introductions Thu, 23 Jul 2020 08:48:38 -0400 http://www.ldmicj.icu/read.php?5,288445,288445#msg-288445 Receiving 413- Entity Request Too Large when limiting rate (no replies) http://www.ldmicj.icu/read.php?5,288445,288445#msg-288445 I'm trying the to limit the messages received for a specific location, but when the rate in which the messages are sent is exceeding the defined rate in the nginx.conf, I'm getting ,413- Entity Request Too Large, errors and not only 503 warnings as defined in the documentation.
I'm using Jmeter to send the messages to a server. When the sending rate less then or equals the defined rate in the nginx.conf everything works fine.

Configurations:
nginx/1.13.8
nginx running inside docker on rhel

nginx.conf:
http {
limit_req_zone $binary_remote_addr zone=myLimit:10m rate=45r/m;
server {
location /my_endpoint {
limit_req zone=myLimitburst=5 nodelay;
client_max_body_size 15m;
}

I've also tried to set the client_max_body_size to 0, move it on the server level , add client_body_buffer_size 128k; same result.

logs:
nginx_access.log
10.128.40.18 - - [24/Jun/2020:09:55:01 +0300] "POST /my_endpoint HTTP/1.1" 413 199 "-" "Apache-HttpClient/4.5.5 (Java/1.8.0_51)" "11.111.111.111"
error_logs:
2020/06/24 09:55:00 [error] 25#25: *2140 client intended to send too large body: 1101464 bytes, client: 00.00.00.000 server: localhost, request: "POST /my_endpoint HTTP/1.1", host: "11.11.11.11.11"

i'm also getting 503, which is as expected.

I've also connected Fiddler to follow the request/responses, for basically the same request I'm getting 202 and 413 response,
screenshots attached.

Appreciate your help,

Best Regards,
Alex]]>
alexbatt New Member Introductions Thu, 25 Jun 2020 03:33:15 -0400
http://www.ldmicj.icu/read.php?5,288398,288398#msg-288398 Exploring Nginx features for my client Cloud requirement (no replies) http://www.ldmicj.icu/read.php?5,288398,288398#msg-288398
I am exploring the features of Nginx features and doing a POC with all the possible use cases. If all goes well, probably there would be a huge investment on the Nginx to use it our cloud based architecture.

Currently exploring an option on TCP SSL termination on Nginx for a SSL connection from Java JDBC client. Facing issues, any guidance would be speed up my POC and complete it.

I'm using nginx on Windows 10 and using the opensource version.

Error.log:
###################
2020/06/19 11:51:51 [debug] 12568#16420: timer delta: 17
2020/06/19 11:51:51 [debug] 12568#16420: posted event 03004310
2020/06/19 11:51:51 [debug] 12568#16420: *1 delete posted event 03004310
2020/06/19 11:51:51 [debug] 12568#16420: *1 SSL handshake handler: 0
2020/06/19 11:51:51 [debug] 12568#16420: *1 SSL_do_handshake: -1
2020/06/19 11:51:51 [debug] 12568#16420: *1 SSL_get_error: 5
2020/06/19 11:51:51 [info] 12568#16420: *1 peer closed connection in SSL handshake while SSL handshaking, client: 127.0.0.1, server: 0.0.0.0:1592
2020/06/19 11:51:51 [debug] 12568#16420: *1 finalize stream session: 500
2020/06/19 11:51:51 [debug] 12568#16420: *1 stream log handler
2020/06/19 11:51:51 [debug] 12568#16420: *1 close stream connection: 368
2020/06/19 11:51:51 [debug] 12568#16420: *1 event timer del: 368: 3409871779
2020/06/19 11:51:51 [debug] 12568#16420: *1 select del event fd:368 ev:768

Error from JDBC Client:
###################
.....
.....
trigger seeding of SecureRandom
done seeding SecureRandom
Using SSLEngineImpl.
SQL State: 08006
IO Error: The Network Adapter could not establish the connection

Java code:
###################
....
....
String url = "jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcps)(HOST=localhost)(PORT=1592))(CONNECT_DATA=(SERVICE_NAME=xe)))";
String user="sys as sysdba";
String pwd="1234";

Properties props = new Properties();
props.setProperty("url", url);
props.setProperty("user", user);
props.setProperty("password", pwd);
props.setProperty("oracle.net.ssl_cipher_suites", "(TLS_DH_RSA_WITH_AES_128_GCM_SHA256, TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384, TLS_ECDH_RSA_WITH_AES_128_CBC_SHA256, TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256)");
.....
.....
try (Connection conn=DriverManager.getConnection(url,props)) { //failing on this line of code
....
....

Nginx.conf:
###################

upstream db_backend {
server localhost:1521; #Local database server which is not SSL enabled.
}

server {
listen 1592 ssl;
listen [::]:1592 ssl;
proxy_pass db_backend;

ssl_certificate C:/Users/SivaPannier/Documents/Siva/IBM/Software/openSSL/ssl/certs/nginx-selfsigned.crt;
ssl_certificate_key C:/Users/SivaPannier/Documents/Siva/IBM/Software/openSSL/ssl/nginx-selfsigned.key;
ssl_protocols SSLv3 TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers HIGH:!aNULL:!MD5;
ssl_session_cache shared:SSL:20m;
ssl_session_timeout 4h;
ssl_handshake_timeout 30s;
}



Thanks,
Siva P]]>
siva.pannier New Member Introductions Fri, 19 Jun 2020 02:50:28 -0400
http://www.ldmicj.icu/read.php?5,288238,288238#msg-288238 Firebird with apache on server with nginx (no replies) http://www.ldmicj.icu/read.php?5,288238,288238#msg-288238 peresss New Member Introductions Tue, 02 Jun 2020 07:35:30 -0400 http://www.ldmicj.icu/read.php?5,288203,288203#msg-288203 Share skills (no replies) http://www.ldmicj.icu/read.php?5,288203,288203#msg-288203 ho is interested by a telegram group where we can share skills?



https://t.me/joinchat/MDwrOR06RlQqx92X1NbF5w]]>
hello_world New Member Introductions Thu, 28 May 2020 11:45:57 -0400
http://www.ldmicj.icu/read.php?5,288031,288031#msg-288031 Hello (1 reply) http://www.ldmicj.icu/read.php?5,288031,288031#msg-288031 marius.melinskas@povas.co.uk New Member Introductions Thu, 28 May 2020 11:31:34 -0400 http://www.ldmicj.icu/read.php?5,287968,287968#msg-287968 Hello From Buffalo,NY (1 reply) http://www.ldmicj.icu/read.php?5,287968,287968#msg-287968
Hope all is well... I'm do software support for small software company. I am new to nginx and hope to get help from the experts here lol.

David Bonilla]]>
dbonilla New Member Introductions Thu, 14 May 2020 12:37:41 -0400
http://www.ldmicj.icu/read.php?5,287930,287930#msg-287930 Hello Nginx World :3 :3 (1 reply) http://www.ldmicj.icu/read.php?5,287930,287930#msg-287930 Nice to be]]> rm2root New Member Introductions Thu, 28 May 2020 11:32:08 -0400 http://www.ldmicj.icu/read.php?5,287815,287815#msg-287815 NGINX enthusiast from El Salvador, Central America (no replies) http://www.ldmicj.icu/read.php?5,287815,287815#msg-287815
I'm an IT project manager, former sysadmin and devops enthusiast, located in El Salvador. Hope I can help with anything at the questions forums.]]>
mauriciolazo New Member Introductions Sat, 25 Apr 2020 14:03:55 -0400
http://www.ldmicj.icu/read.php?5,287719,287719#msg-287719 Hello from Croatia (1 reply) http://www.ldmicj.icu/read.php?5,287719,287719#msg-287719 I'm system engineer for small software company, We develop web application on saas platform. I want to became expert for NGINX services and that's why I am here.]]> Boris_Krizman New Member Introductions Sun, 03 May 2020 11:51:01 -0400 http://www.ldmicj.icu/read.php?5,287650,287650#msg-287650 Hello from India! (no replies) http://www.ldmicj.icu/read.php?5,287650,287650#msg-287650 Please visit!
https://serverforbeginners.in]]>
raptorhunter22 New Member Introductions Tue, 14 Apr 2020 11:05:38 -0400
http://www.ldmicj.icu/read.php?5,287610,287610#msg-287610 Hello (1 reply) http://www.ldmicj.icu/read.php?5,287610,287610#msg-287610 for an open-source project to get into and was intrigued by nginx.]]> diskdemon New Member Introductions Mon, 13 Apr 2020 11:11:00 -0400 http://www.ldmicj.icu/read.php?5,287038,287038#msg-287038 Hello all (no replies) http://www.ldmicj.icu/read.php?5,287038,287038#msg-287038
I´d been starting with linux, Ubuntu particulary in the 90's looking for something different in my adol time, now I am trying to install my first invoice web server, to help in my work.

Thanks for your read.

Maxi]]>
maxi_osso New Member Introductions Tue, 18 Feb 2020 06:38:04 -0500
http://www.ldmicj.icu/read.php?5,286772,286772#msg-286772 Hello (no replies) http://www.ldmicj.icu/read.php?5,286772,286772#msg-286772 I'm freelancer sysadmin.

Thanks.]]>
Newtman New Member Introductions Mon, 20 Jan 2020 14:51:31 -0500
http://www.ldmicj.icu/read.php?5,286519,286519#msg-286519 Hello All! (no replies) http://www.ldmicj.icu/read.php?5,286519,286519#msg-286519 ctaylor New Member Introductions Thu, 19 Dec 2019 15:10:07 -0500 http://www.ldmicj.icu/read.php?5,286471,286471#msg-286471 Hello guys , (no replies) http://www.ldmicj.icu/read.php?5,286471,286471#msg-286471
I am a new memeber to Nginx developer society .
I am bangalore based Developer

Saksham sharma
OCI]]>
dipcoder New Member Introductions Sat, 14 Dec 2019 07:33:27 -0500
http://www.ldmicj.icu/read.php?5,286359,286359#msg-286359 Hello! (no replies) http://www.ldmicj.icu/read.php?5,286359,286359#msg-286359
I'm the CTO of a new cyber security company, evaluating nginx as a proxy platform. Thanks in advance for your help.

Yoav.]]>
yoav.cohen New Member Introductions Thu, 28 Nov 2019 15:14:38 -0500
http://www.ldmicj.icu/read.php?5,286334,286334#msg-286334 Replace domain without changing url in client browser (1 reply) http://www.ldmicj.icu/read.php?5,286334,286334#msg-286334
I have one legacy grails app which listen on http://localhost:8080
Also this app always redirect response back to hardcoded url domain - https://backend-domain.com

I want to setup nginx sever which listen on https://somedomain.com with ssl.
but when backend server response back to https://backend-domain.com nginx to rewrite domain
so cliient always see https://somedomain.com

How can I do this ?]]>
cprog New Member Introductions Thu, 28 May 2020 11:30:29 -0400
http://www.ldmicj.icu/read.php?5,286320,286320#msg-286320 Presentation (no replies) http://www.ldmicj.icu/read.php?5,286320,286320#msg-286320
I'm IT since 2001. Since 2015, I use nginx on OpenBSD (before was on Debian), either directly or proxy for httpd, natif server web on OpenBSD (do not confuse it with Apache) ;)

I "love" much Nginx, really for his simplicity.

Live on France.]]>
hucste New Member Introductions Mon, 25 Nov 2019 10:17:04 -0500
http://www.ldmicj.icu/read.php?5,286297,286297#msg-286297 NGINX Only Sending Data to Some of the Upstream Servers (no replies) http://www.ldmicj.icu/read.php?5,286297,286297#msg-286297
I'm new to nginx, and I've read much of the documentation, and looked at examples on a bunch of sites, but for some reason I can't get nginx working on a TCP connection. For your convenience, I've made a Stackoverflow post. I've tried reaching out to many other people and posted this question in other forms. I can't seem to get any help. All that was done, on a brand new machine spun up, was a yum install nginx, with my basic config. Thank you in advance.


https://stackoverflow.com/questions/58923502/nginx-only-sending-data-to-some-of-the-upstream-servers]]>
tdurey New Member Introductions Thu, 21 Nov 2019 13:10:15 -0500
Žɳ1005app