Giter Club home page Giter Club logo

Comments (5)

eusonlito avatar eusonlito commented on August 28, 2024

Have you updated APP_URL in .env to reflect the final url?

from password-manager.

JSXRED avatar JSXRED commented on August 28, 2024

Yes, my configuration:

.ENV
APP_URL=https://sub.tld.com/
ASSET_URL=https://sub.tld.com

Nginx
location / {
#sub_filter 'http://sub.' 'https://sub.';
#sub_filter_once off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Cookie $http_cookie;
proxy_pass http://10.10.10.10:8080/;
}

from password-manager.

eusonlito avatar eusonlito commented on August 28, 2024

Ok, let me do some tests with same setup :)

from password-manager.

eusonlito avatar eusonlito commented on August 28, 2024

I have added TrustProxies middleware.

  1. Backup the .env file stored inside container:
sudo docker cp passwordmanager:/var/www/passwordmanager/.env .env
  1. Update the project code.
git pull
  1. Build again the docker instance.
sudo docker-compose -f docker/docker-compose.yml build
  1. Run the docker instance.
sudo docker-compose -f docker/docker-compose.yml up
  1. It works?

from password-manager.

JSXRED avatar JSXRED commented on August 28, 2024

Step: 5.
sudo docker cp .env passwordmanager:/var/www/passwo rdmanager/.env

  1. It works!

I can confirm that the issue is solved. Thank you so much for the quick support.

from password-manager.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.