Category : nginx

i need help with my nginx config. At the moment I have a fully functioning Nextcloud instance, accessible from a subdomain. I tested my setup with a wordpress docker and a manuell install, with the same outcome. The problem is with my wordpress installation, Nginx will not access the files and i am not able ..

Read more

I have setup and nginx base ec2 instance. This instance received request from AWS API Gateway. When I receive request in code then request has not received desired pattern headers User-Agent Required User-Agent Pattenr aws-sdk-android/2.22.6 Linux/3.18.14-14263629-QB33208447 Dalvik/2.1.0/0 en_US appVersion/128 apiVersion/4.5 device-id/([email protected]) df1, AmazonAPIGateway_n6t1xjtsb2 But when I receive request User-Agent is aws-sdk-android/2.22.6 Linux/3.18.14-14263629-QB33208447 Dalvik/2.1.0/0 en_US appVersion/128 ..

Read more

docker-compose.yml version: "3" networks: laravel: services: nginx: image: nginx:stable-alpine container_name: nginx ports: – "8088:80" volumes: – ./src:/usr/share/nginx/html – ./site.conf:/etc/nginx/conf.d/site.conf depends_on: – php – mysql networks: – laravel mysql: image: mysql:5.7.35 container_name: mysql restart: unless-stopped tty: true ports: – "4306:3306" volumes: – ./mysql:/var/lib/mysql environment: MYSQL_DATABASE: boilerplatelaravel MYSQL_USER: root MYSQL_ROOT_PASSWORD: Tobi12345678 networks: – laravel php: build: context: ..

Read more

Website 1 : example.com Website 2 : example.com/product – WordPress hosted on a separate machine NGINX setting on a different machine used for reverse proxy – server { listen 443 ssl; server_name example.com; ssl on; location / { proxy_pass https://10.110.7.5:1100; } location /product/ { proxy_pass http://10.110.5.20/; } } .htaccess <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / ..

Read more

Main problem wordpress example.com/en/wp-admin/ redirects to example.com/wp-admin/ and the /en/ prefix is missed. Description Hello. I have a main server at example.com . I wanted to serve a wordpress site at example.com/en but the wordpress on separate server. The second server address is en.example.com So I made a wordpress site using docker in second server ..

Read more

I rewrote my website from vanilla PHP and jquery to nuxt and laravel. My android app used to get data from the website from old URL example.com/android/android_script.php?table=image&content=new Now I want that address to change to a new address example.com/api/android?table=image&content=new I tried rewrite nginx with this code rewrite ^/android/android_script2.php?$1 /api/android?$1 last; but it’s not working. Source: ..

Read more