🔴 January 2024 Alert: Forum support inactive!
New forum registration are currently closed.
Use GitHub discussions
.

    UVdesk

    • Login
    • Search
    • Recent
    1. Home
    2. javier.solis
    J
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 4
    • Best 0
    • Controversial 0
    • Groups 0

    javier.solis

    @javier.solis

    0
    Reputation
    10
    Profile views
    4
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    javier.solis Unfollow Follow

    Latest posts made by javier.solis

    • RE: Docker + Nginx. SRC images displays 127.0.0.1:8083 instead of correct url

      Thanks, @peopleinside just for the record, yes, the instance of uvdesk is accessible via domain.

      Thanks for your help!

      posted in Technical Help
      J
      javier.solis
    • RE: Docker + Nginx. SRC images displays 127.0.0.1:8083 instead of correct url

      @peopleinside said in Docker + Nginx. SRC images displays 127.0.0.1:8083 instead of correct url:

      php bin/console c:c

      The result of

       php bin/console c:c
      

      7e8a852d-1b6f-4ad8-9399-d68d3444e925-image.png

      posted in Technical Help
      J
      javier.solis
    • RE: Docker + Nginx. SRC images displays 127.0.0.1:8083 instead of correct url

      Thanks for your answer.
      Yes, my uvdesk installation is running in an EC2 instance in AWS. The application runs in a docker container in port 8083.

      Uploaded images are not displayed correctly in the header or attachments:

      Logo:
      4e7be229-a183-4d1d-98e0-ef1e730ede0c-image.png

      Tickets:
      ec2b6bcb-7848-4f15-a3aa-193aeeb58897-image.png

      This is my Nginx configuration:

      server {
              server_name mydomain.com;
              access_log /var/log/nginx/uvdesk-access.log;
              error_log /var/log/nginx/uvdesk-error.log;
              location / {
                   proxy_pass http://127.0.0.1:8083;
              }
      
          listen [::]:443 ssl ipv6only=on; # managed by Certbot
          listen 443 ssl; # managed by Certbot
          ssl_certificate /etc/letsencrypt/live/mydomain.com/fullchain.pem; # managed by Certbot
          ssl_certificate_key /etc/letsencrypt/live/mydomain.com/privkey.pem; # managed by Certbot
          include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
          ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
      
      }
      server {
          if ($host =mydomain.com) {
              return 301 https://$host$request_uri;
          } # managed by Certbot
      
              listen 80;
              listen [::]:80;
              server_name mydomain.com;
          return 404; # managed by Certbot
      

      This is the dockercompose yml file

      version: '3'
      
      volumes:
          app:
      
      services:
          uvdesk:
              restart: always
              image: uvdesk:latest
              tty: true
      
              environment:
                  APP_ENV: prod
                  APP_SECRET: HIDDEN
            
                  MYSQL_USER: myuvdeskuser
                  MYSQL_PASSWORD: HIDDEN
                  MYSQL_ROOT_PASSWORD: HIDDEN
                  MYSQL_DATABASE: myuvdes
      
              ports:
                  - 127.0.0.1:8083:80
      
              volumes:
                  - app:/var/www/uvdesk
      

      Docker process:

      CONTAINER ID        IMAGE            COMMAND              REATED     STATUS            PORTS                                                                  NAMES
      *HIDDEN*        uvdesk:latest  "uvdesk-entrypoint.s…" 22 hours ago        Up 22 hours            127.0.0.1:8083->80/tcp                        uvdesk_1
      

      Is there any environment variable to set the BASE URL correctly?

      Thanks for your support.

      Best regards.

      Javier

      posted in Technical Help
      J
      javier.solis
    • Docker + Nginx. SRC images displays 127.0.0.1:8083 instead of correct url

      Hi Guys, I just finished the uvdesk installation (docker + nginx) but I have an issue with images. The src address is generated using the docker address: 127.0.0.1:8083

      For example:

      <a class="uv-logo" href="/en/folder">
      <img src="http://127.0.0.1:8083//assets/website/ewX0qQI6EQdvfI93.jpeg" alt="Knowledgebase">
      </a>

      Website in general works correctly
      Any suggestion?

      posted in Technical Help
      J
      javier.solis