Skip to content

Devportal page returns error 403 #85

Description

@Alarnos

Issue Summary

When using NGINX Plus R33 Ubi image from private.nginx.com and NIM 2.19 with the standard /config declaration version 5.2 and deploying the example petstore API, the following error occurs:

The developer portal page published at: apigw.example.com/petstore/petstore-devportal.html gives a 403 http error

Environment

NGINX Plus Version: R33
NIM Version: 2.19
Config Declaration Version: 5.2
Deployment: Kubernetes

Steps to Reproduce

Deploy NGINX Plus R33 on Kubernetes as Api Gateway and connect it to the NIM.
Deploy NGINX Dapi on Kubernetes.
Deploy NIM on a Virtual Machine.

Observed Behavior

When postman wants to publish the example API (v5.2), the developer portal gives a 403 http error.

When I changed in the nginx.conf the user from nginx to root the page is now correctly showing the developer portal. All files inside the container are owned by the root user.

[root@nginx-plus-gw-agent-8447dcfd48-9mn49 nginx]# cat nginx.conf
user root;
worker_processes auto;

Expected Behavior

The developer portal page should be accessible.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions