Results 1 to 2 of 2

Thread: EXT JS 6 app behind reverse proxy

  1. #1
    Sencha User
    Join Date
    Jul 2019
    Posts
    12
    Answers
    1

    Default Answered: EXT JS 6 app behind reverse proxy

    Hello

    I have ext app in webapp on jetty web container behind reverse proxy set to https://mydomain/sencha

    The problem is that I can't find where to set app base path to use /sencha uri when loading resources .. now it's allways root / thus not working behind reverse proxy
    Any help appreciated.

    Regards
    Armando

  2. I've solved it ...


    in app.josn I adedd this
    "base": "${app.dir}/sencha/"
    setting now it knows all about the relative path ...
    Code:
        "production": {
            "output": {
                "appCache": {
                    "enable": true,
                    "path": "cache.appcache"
                },
                "base": "${app.dir}/sencha/"
           },
        }
    but beware .. this creates subfolder sencha for build folder in ${app.dir}

    Regards
    Armando

  3. #2
    Sencha User
    Join Date
    Jul 2019
    Posts
    12
    Answers
    1

    Default

    I've solved it ...


    in app.josn I adedd this
    "base": "${app.dir}/sencha/"
    setting now it knows all about the relative path ...
    Code:
        "production": {
            "output": {
                "appCache": {
                    "enable": true,
                    "path": "cache.appcache"
                },
                "base": "${app.dir}/sencha/"
           },
        }
    but beware .. this creates subfolder sencha for build folder in ${app.dir}

    Regards
    Armando

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •