Awesome, this approach totally work, thank you very much:
worker_processes auto;
error_log /var/log/nginx/error.log warn;
pid/var/run/nginx.pid;
events {
worker_connections 1024;
}
http {
default_type application/octet-stream;
log_format main '$remote_addr - $remot
On Mon, Feb 22, 2021 at 02:15:42PM -0500, sanflores wrote:
Hi there,
I suspect that if I were doing this, I would probably pick one url that
is not otherwise used on my server (in this example, "/puppet/"), and
use that as a "stepping stone".
Then, if this request should be handled specially, re
First of all, thanks for your help.
Here is my configuration:
cat nginx.conf
-
worker_processes auto;
error_log /var/log/nginx/error.log warn;
pid/var/run/nginx.pid;
events {
worke
On Mon, Feb 22, 2021 at 07:52:04AM -0500, sanflores wrote:
Hi there,
> This would be great, but I don't know how to server the context from nginx
> with a rewrite, what would work is:
I'm afraid I don't fully understand what response you want to send to
what request.
Can you show some examples?
This would be great, but I don't know how to server the context from nginx
with a rewrite, what would work is:
if ($is_NOT_a_bot) {
rewrite in order to save the content in /usr/share/nginx/html
}
proxy_pass
Posted at Nginx Forum:
https://forum.nginx.org/read.php?2,290773,290820#msg-290820
On Tue, Feb 16, 2021 at 10:00:47AM -0500, sanflores wrote:
Hi there,
> I have an Angular app and need to use puppeteer for SSR. In order to make it
> work I need to send the request with the body but I can't figure how to make
> these things work together.
Can you see, which part is failing? Is
I have an Angular app and need to use puppeteer for SSR. In order to make it
work I need to send the request with the body but I can't figure how to make
these things work together.
if ($limit_bots = 1){
proxy_pass http://localhost:3000/puppeteer/download/html/;