Comments (6)
Hi,
Can you try opening the file app/Http/Middleware/TrustProxies.php on your VPS (located at /var/www/paymenter) and change
protected $proxies;
To
protected $proxies = "*";
from paymenter.
Note for myself: Add option to enable that you're behind proxy in admin panel itself
from paymenter.
Just a reminder, could this issue be fixed in the official release version? At least, the problem still persists in the Docker deployment scenario.
from paymenter.
We're currently in the process of rewrite Paymenter, when the next version comes, this feature will be included!
from paymenter.
We're currently in the process of rewrite Paymenter, when the next version comes, this feature will be included!
That's great!
The current functionality of Paymenter is already powerful, and we can look forward to the new version being even more stable.
from paymenter.
Hi, Can you try opening the file app/Http/Middleware/TrustProxies.php on your VPS (located at /var/www/paymenter) and change
protected $proxies;
To
protected $proxies = "*";
compose
version: '3.8'
x-common:
database:
&db-env
MYSQL_PASSWORD: &db-password "xxxxx"
MYSQL_ROOT_PASSWORD: "xxxxx"
panel:
&pm-env
APP_NAME: Paymenter
APP_ENV: production
APP_KEY: xxxxx
APP_DEBUG: false
APP_URL: https://xxxxxxxx
LOG_CHANNEL: stack
LOG_DEPRECATIONS_CHANNEL: null
LOG_LEVEL: debug
DB_CONNECTION: mysql
DB_HOST: database
DB_PORT: 3306
DB_DATABASE: paymenter
DB_USERNAME: paymenter
BROADCAST_DRIVER: log
CACHE_DRIVER: file
FILESYSTEM_DISK: local
QUEUE_CONNECTION: database
SESSION_DRIVER: file
SESSION_LIFETIME: 120
MEMCACHED_HOST: cache
services:
database:
image: mariadb:10.5
restart: always
command: --default-authentication-plugin=mysql_native_password
volumes:
- "/opt/paymenter/database:/var/lib/mysql"
environment:
<<: *db-env
MYSQL_DATABASE: "paymenter"
MYSQL_USER: "paymenter"
cache:
image: redis:alpine
restart: always
paymenter:
image: ghcr.io/paymenter/paymenter:master
restart: always
links:
- database
- cache
volumes:
- "/opt/paymenter/var/:/app/var/"
- "/opt/paymenter/logs/:/app/storage/logs"
environment:
<<: *pm-env
DB_PASSWORD: *db-password
proxy:
image: nginx:stable-alpine3.17-slim
restart: always
links:
- paymenter
volumes:
- "/opt/paymenter/nginx/:/etc/nginx/conf.d"
- "/opt/paymenter/certs/:/etc/certs/"
networks:
default:
ipv4_address: 172.26.99.99
networks:
default:
ipam:
config:
- subnet: 172.26.99.0/24
from paymenter.
Related Issues (20)
- [BUG] Slider doesnt work HOT 1
- Feature HOT 1
- [BUG] Issues with One-Time Billing Product HOT 1
- [BUG] No cancellation reason HOT 5
- [BUG] Product price error when comma is used
- [BUG] Coupon uses doesn't save
- [BUG] Automatic Refund when Pterodactyl no Suitable node found
- [BUG] Active Products with an Open Invoice cannot be Cannceled HOT 1
- [BUG] If a Product gets Ordered "on Mistake" the Status will stay on Pending HOT 1
- [BUG] Immediate Cancellation does not Cancel Immediatly HOT 3
- [BUG] Error 500 When reordering products HOT 2
- Submit button when creating a ticket doesn't work. HOT 3
- [BUG] Discount bug, 100 percent discount will still include VAT
- [BUG] Image not save HOT 6
- [BUG] Email link HOT 1
- [BUG] Suggestion to update so that you can have a Ticket signature
- [BUG] the proxmox ips field type is incorrect
- [BUG] Quantity Custom Option not working
- [BUG] Error Virtfusion Creating VPS HOT 2
- [BUG] Cannot open ticket when using Cloudflare Turnstile HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from paymenter.